Text parsing and formatting.
Text parsing and formatting.
Parses the given string as an integer.
int
Parses the given string as a 64 bit integer.
int64
Parses the given string as an unsigned integer.
uint
Parses the given string as a 64 bit unsigned integer.
uint64
Parses the given string as a hexadecimal color such as "#FF0000".
vec4
Tries to parse the given string as an integer. This will return true only if the string was parsed entirely and was not empty.
bool
Tries to parse the given string as a 64 bit integer. This will return true only if the string was parsed entirely and was not empty.
bool
Tries to parse the given string as an unsigned integer. This will return true only if the string was parsed entirely and was not empty.
bool
Tries to parse the given string as a 64 bit unsigned integer. This will return true only if the string was parsed entirely and was not empty.
bool
Parses the given string as a float. This will return true only if the string was parsed entirely and was not empty.
bool
Parses the given string as a double. This will return true only if the string was parsed entirely and was not empty.
bool
Parses the given string as a hexadecimal color such as "#FF0000". This will return true only if the string was parsed entirely and was not empty.
bool
Formats a pointer to its more representative hexadecimal format, for example: 0x12345678
string
Formats a color in Maniaplanet-style color formatting, for example: "$f00"
string
Formats a color in Openplanet-style UI color formatting, for example: "\$f00"
string
Strips all Maniaplanet-style formatting codes from a string.
string
Strips all non-color Maniaplanet-style formatting codes from a string.
string
Takes a string, converts Maniaplanet-style formatting codes and turns them into Openplanet UI formatting codes. This will also get rid of all Openplanet-unsupported formatting codes.
string
Strips all Openplanet-supported formatting codes from a string.
string
Encodes a string so that all characters are encoded as a sequence of hexadecimal bytes. Note that if you want to encode binary data, you should probably use MemoryBuffer::ReadToHex instead.
string
Decodes a string where characters are encoded as a sequence of hexadecimal bytes. Note that if you want to decode binary data, you should probably use MemoryBuffer::WriteFromHex instead.
string
Encode a string as a base64 encoded string. Note that if you want to encode binary data, you should probably use MemoryBuffer::ReadToBase64 instead.
string
Decode a base64 encoded string to a string. Note that if you want to decode binary data, you should probably use MemoryBuffer::WriteFromBase64 instead.
string