CString | Constructs CString objects in various ways. | |
~CString | Destroys a CString object. |
GetLength | Returns the number of characters in a CString object. | |
IsEmpty | Tests whether the length of a CString object is 0. | |
Empty | Forces a string to have 0 length. | |
GetAt | Returns the character at a given position. | |
operator [] | Returns the character at a given position. | |
SetAt | Sets a character at a given position. | |
operator const char* () | Directly accesses characters stored in a CString object. |
operator = | Assigns a new value to a CString object. | |
operator + | Concatenates two strings and returns a new string. | |
operator += | Concatenates a new string to the end of an existing string. |
operator ==, <, etc. | Comparison operators (ASCII, case sensitive). | |
Compare | Compares two strings (ASCII, case sensitive). | |
CompareNoCase | Compares two strings (ASCII, case insensitive). | |
Collate | Compares two strings with proper language-dependent ordering. |
Mid | Extracts the middle part of a string (like the Basic MID$ command). | |
Left | Extracts the left part of a string (like the Basic LEFT$ command). | |
Right | Extracts the right part of a string (like the Basic RIGHT$ command). | |
SpanIncluding | Extracts a substring that contains only the characters in a set. | |
SpanExcluding | Extracts a substring that contains only the characters not in a set. |
MakeUpper | Converts all the characters in this string to uppercase characters. | |
MakeLower | Converts all the characters in this string to lowercase characters. | |
MakeReverse | Reverses the characters in this string. |
Find | Finds a character or substring inside a larger string. | |
ReverseFind | Finds a character inside a larger string; starts from the end. | |
FindOneOf | Finds the first matching character from a set. |
operator << | Inserts a CString object to an archive or dump context. | |
operator >> | Extracts a CString object from an archive. |
GetBuffer | Returns a pointer to the characters in the CString. | |
GetBufferSetLength | Returns a pointer to the characters in the CString, truncating to the specified length. | |
ReleaseBuffer | Yields control of the buffer returned by GetBuffer. |
LoadString | Loads an existing CString object from a Windows resource. | |
AnsiToOem | Makes an in-place conversion from the ANSI character set to the OEM character set. | |
OemToAnsi | Makes an in-place conversion from the OEM character set to the ANSI character set. |