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.
bool StartsWith(const wstring&in) const
Returns true if the string starts with the given substring.
bool bool EndsWith(const wstring&in) const
Returns true if the string ends with the given substring.
bool bool Contains(const wstring&in) const
Returns true if the string contains the given substring.
bool wstring SubStr(int index) const
Returns the remainder of the string after the given index. For example; for the string "Hello", SubStr(1) returns "ello".
wstring wstring SubStr(int index, int length) const
Returns a portion of the string from the index and length. For example; for the string "Hello", SubStr(1, 3) returns "ell".
wstring int get_Length() const
The length of the string in bytes. On games older than Trackmania (2020), this returns the length of the string in characters.
int