C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

namespace Text

Defined in:  C4String.h
The Text namespace contains miscellaneous text functions.
Definition

namespace C4 { namespace Text {...} }

Member Functions
Text::GetTextLength Returns the length of a character string.
Text::GetGlyphCountUTF8 Returns the number of UTF-8 glyphs in a character string.
Text::GetTextHash Returns the hash value for a character string.
Text::FindChar Searches for a particular byte value in a string.
Text::FindUnquotedChar Searches for a particular byte value in a string.
Text::CompareText Compares two strings for equality.
Text::CompareTextCaseless Compares two strings for equality, ignoring case.
Text::CompareTextLessThan Determines whether one string precedes another.
Text::CompareTextLessThanCaseless Determines whether one string precedes another, ignoring case.
Text::CompareTextLessEqual Determines whether one string precedes another or the two strings are equal.
Text::CompareTextLessEqualCaseless Determines whether one string precedes another or the two strings are equal, ignoring case.
Text::GetWhitespaceLength Returns the number of whitespace characters at the beginning of a character string.
Text::ReadIdentifier Reads an identifier from a character string.
Text::ReadString Reads a string of non-whitespace characters from a character string.
See Also

String