CRxString::Data Method
C++
const char* Data()
Returns a pointer to an array that contains a null-terminated sequence of characters (i.e., a C-string) representing the current value of the string object.
This array includes the same sequence of characters that make up the value of the string object plus an additional terminating null-character ('\0') at the end.
The pointer returned points to the internal array currently used by the string object to store the characters that conform its value.
Returns
const char* |
A pointer to the c-string representation of the string object's value. |