company logo

String :: data - Returns a pointer to the 8 bit string data area

The property returns a char * pointer to the area containing the string data. When no string data area has been allocated, the function returns a pointer to an empty string data area. If the string does not contain an 8 bit representation of string data, it throws an exception. The method is implemented for C++, only.

Return value:  C string ( char * )

Usually, the string has to be 0-terminated, but there might be exceptions.

Implementation details