Class to store ASCII strings. CString stores 8 bit characters. Any characters are legal, including 0C (strings are not null-terminated). CStrings are reference-counted objects. This means that as long as you copy and do not modify strings they are just referenced. The first modification breaks the link and it becomes a unique new object.
@MAXON_ANNOTATION{refclass=false} 
 | 
| MAXON_METHOD Result< Int >  | GetCStringBlock (const Block< Char > &buffer) const | 
|   | 
| MAXON_METHOD Result< void >  | GetCStringAppendArray (const NonConstArray< Char > &array) const | 
|   | 
| MAXON_METHOD Result< void >  | SetCString (const Char *buffer, Int count=-1) | 
|   | 
| MAXON_FUNCTION Result< void >  | SetCString (const Block< const Char > &buffer) | 
|   | 
| MAXON_METHOD Result< BaseArray< Char > >  | GetCString () const | 
|   | 
| String  | ToString (const FormatStatement *formatStatement) const | 
|   | 
| MAXON_METHOD Block< const Char >  | GetInternalData () const | 
|   | 
| MAXON_METHOD Int  | GetLength () const | 
|   | 
| MAXON_METHOD Result< void >  | Init (Int count=0, Char fillChar=0) | 
|   | 
| MAXON_METHOD Result< void >  | Shrink () | 
|   | 
| MAXON_METHOD Result< void >  | Append (const CStringInterface *str) | 
|   | 
| MAXON_METHOD Result< void >  | Append (const Char *str, Int len) | 
|   | 
| MAXON_FUNCTION Result< void >  | AppendChar (Char v) | 
|   | 
| MAXON_METHOD Int  | FindIndex (const CStringInterface *str, StringPosition start=0) const | 
|   | 
| MAXON_METHOD Int  | FindIndex (Char ch, StringPosition start=0) const | 
|   | 
| MAXON_METHOD Int  | FindLastIndex (const CStringInterface *str, StringPosition start=StringEnd()) const | 
|   | 
| MAXON_METHOD Int  | FindLastIndex (Char ch, StringPosition start=StringEnd()) const | 
|   | 
| MAXON_METHOD Int  | FindUpperIndex (const CStringInterface *str, StringPosition start=0) const | 
|   | 
| MAXON_METHOD Int  | FindLastUpperIndex (const CStringInterface *str, StringPosition start=StringEnd()) const | 
|   | 
| MAXON_METHOD Result< void >  | Erase (StringPosition position, StringCount count) | 
|   | 
| MAXON_METHOD Result< void >  | Insert (StringPosition position, const CStringInterface *str, StringPosition strStart=0, StringCount strCount=StringEnd()) | 
|   | 
| MAXON_METHOD Result< void >  | Insert (StringPosition position, Char ch) | 
|   | 
| MAXON_METHOD CStringInterface *  | GetPart (StringPosition start, StringCount count) const | 
|   | 
| MAXON_METHOD CStringInterface *  | ToUpper () const | 
|   | 
| MAXON_METHOD CStringInterface *  | ToLower () const | 
|   | 
| MAXON_METHOD COMPARERESULT  | ComparePart (const CStringInterface *str, STRINGCOMPARISON mode, StringPosition position, StringCount count) const | 
|   | 
| MAXON_FUNCTION COMPARERESULT  | Compare (const CStringInterface *str, STRINGCOMPARISON mode=STRINGCOMPARISON::UNICODE_NUMBERS) const | 
|   | 
| MAXON_FUNCTION Bool  | IsEqual (const CStringInterface *str) const | 
|   | 
| MAXON_METHOD UInt  | GetHashCode () const | 
|   | 
| MAXON_METHOD void  | SetChar (Int pos, Char ch) | 
|   | 
| MAXON_METHOD Char  | GetChar (Int pos) const | 
|   | 
| MAXON_FUNCTION Result< Float64 >  | ToFloat64 (STRINGCONVERSION flags=STRINGCONVERSION::NONE) const | 
|   | 
| MAXON_FUNCTION Result< Float32 >  | ToFloat32 (STRINGCONVERSION flags=STRINGCONVERSION::NONE) const | 
|   | 
| MAXON_FUNCTION Result< Float >  | ToFloat (STRINGCONVERSION flags=STRINGCONVERSION::NONE) const | 
|   | 
| MAXON_FUNCTION Result< Int64 >  | ToInt64 (STRINGCONVERSION flags=STRINGCONVERSION::NONE) const | 
|   | 
| MAXON_FUNCTION Result< Int32 >  | ToInt32 (STRINGCONVERSION flags=STRINGCONVERSION::NONE) const | 
|   | 
| MAXON_FUNCTION Result< Int >  | ToInt (STRINGCONVERSION flags=STRINGCONVERSION::NONE) const | 
|   | 
| MAXON_FUNCTION Result< UInt64 >  | ToUInt64 (STRINGCONVERSION flags=STRINGCONVERSION::NONE) const | 
|   | 
| MAXON_FUNCTION Result< UInt32 >  | ToUInt32 (STRINGCONVERSION flags=STRINGCONVERSION::NONE) const | 
|   | 
| MAXON_FUNCTION Result< UInt >  | ToUInt (STRINGCONVERSION flags=STRINGCONVERSION::NONE) const | 
|   | 
| MAXON_FUNCTION CStringInterface *  | AppendInt (Int32 v) | 
|   | 
| MAXON_FUNCTION CStringInterface *  | AppendInt (Int64 v) | 
|   | 
| MAXON_FUNCTION CStringInterface *  | AppendUInt (UInt32 v) | 
|   | 
| MAXON_FUNCTION CStringInterface *  | AppendUInt (UInt64 v) | 
|   | 
| MAXON_METHOD Result< void >  | GetUtf32 (Utf32CharBuffer &stringData) const | 
|   | 
| MAXON_METHOD Result< void >  | TrimLeft () | 
|   | 
| MAXON_METHOD Result< void >  | TrimRight () | 
|   | 
| MAXON_METHOD Result< void >  | Split (const CString &splitSymbol, Bool trim, const ValueReceiver< const CString & > &parts) const | 
|   | 
| MAXON_METHOD Result< Int >  | Replace (Char find, Char replace) | 
|   | 
| MAXON_METHOD Result< Int >  | Replace (const CString &find, const CString &replace) | 
|   | 
| MAXON_METHOD Result< Int >  | Replace (Char find, const CString &replace) | 
|   | 
| MAXON_FUNCTION Bool  | Find (const CString &str, Int *pos, StringPosition start=0) const | 
|   | 
| MAXON_FUNCTION Bool  | Find (Char ch, Int *pos, StringPosition start=0) const | 
|   | 
| MAXON_FUNCTION Bool  | FindLast (const CString &str, Int *pos, StringPosition start=StringEnd()) const | 
|   | 
| MAXON_FUNCTION Bool  | FindLast (Char ch, Int *pos, StringPosition start=StringEnd()) const | 
|   | 
| MAXON_FUNCTION Bool  | FindUpper (const CString &str, Int *pos, StringPosition start=0) const | 
|   | 
| MAXON_FUNCTION Bool  | FindLastUpper (const CString &str, Int *pos, StringPosition start=StringEnd()) const | 
|   | 
| MAXON_FUNCTION CStringInterface *  | GetLeftPart (StringPosition start) const | 
|   | 
| MAXON_FUNCTION CStringInterface *  | GetRightPart (StringPosition start) const | 
|   | 
| MAXON_FUNCTION Bool  | StartsWith (Char ch) const | 
|   | 
| MAXON_FUNCTION Bool  | StartsWith (const CString &str) const | 
|   | 
| MAXON_FUNCTION Bool  | EndsWith (Char ch) const | 
|   | 
| MAXON_FUNCTION Bool  | EndsWith (const CString &str) const | 
|   | 
| MAXON_FUNCTION Result< void >  | Trim () | 
|   | 
 | 
| static const MAXON_METHOD CString &  | GetAndCacheConstString (const Char *chr, Int len) | 
|   | 
| static MAXON_FUNCTION CString  | FloatToString (Float32 value, Int charsBeforeComma=STRING_DYNAMIC_DIGITS, Int digitsAfterComma=-3, Bool exponent=false, Char fillChar=' ') | 
|   | 
| static MAXON_FUNCTION CString  | FloatToString (Float64 value, Int charsBeforeComma=STRING_DYNAMIC_DIGITS, Int digitsAfterComma=-3, Bool exponent=false, Char fillChar=' ') | 
|   | 
| static MAXON_FUNCTION CString  | IntToString (Int32 v) | 
|   | 
| static MAXON_FUNCTION CString  | IntToString (Int64 v) | 
|   | 
| static MAXON_FUNCTION CString  | UIntToString (UInt32 v) | 
|   | 
| static MAXON_FUNCTION CString  | UIntToString (UInt64 v) | 
|   | 
| static MAXON_FUNCTION CString  | MemorySizeToString (Int64 v, Bool mebibytes=true) | 
|   | 
| static MAXON_FUNCTION CString  | HexToString (UInt32 v, Bool prefix0x=true) | 
|   | 
| static MAXON_FUNCTION CString  | HexToString (UInt64 v, Bool prefix0x=true) | 
|   | 
| static MAXON_FUNCTION CString  | PointerToString (const void *v) | 
|   |