User`s guide

operator const char* () const
Purpose Return p ointer to internal bu ffer of string
C++
Syntax
#include "mclcppclass. h"
mwString str("This is a string");
const char* pstr = (const char*)str;
Arguments None
Return
Value
A pointer to the internal buffer of the string.
Description Use this operator to get direct read-only a ccess to the string’s d ata
buffer.
C-10