The wide string class used primarily in the game for unicode strings. Since Trackmania (2020) the game switched to UTF-8 by default, making wstring essentially the same as string.
The wide string class used primarily in the game for unicode strings. Since Trackmania (2020) the game switched to UTF-8 by default, making wstring essentially the same as string.
Returns true if the string starts with the given substring.
bool
Returns true if the string ends with the given substring.
bool
Returns true if the string contains the given substring.
bool
Returns the remainder of the string after the given index. For example; for the string "Hello", SubStr(1) returns "ello".
wstring
Returns a portion of the string from the index and length. For example; for the string "Hello", SubStr(1, 3) returns "ell".
wstring
The length of the string in bytes. On games older than Trackmania (2020), this returns the length of the string in characters.
int