Base class: Object, std::wstring

Lua
C++
Edit

WString

This class provides an interface for manipulating wide unicode text strings. This class is preferable because it can support all characters.

Property Type Description
WString Constructor WString(const char* c)
WString Constructor WString(const wchar_t* c)
WString Constructor WString(const int i)
WString Constructor WString(const float f)
WString Constructor WString(const double f)
Find Method performs a search operation
GetSize Method returns the length of the string
Left Method returns leftmost characters
Lower Method converts the string to lowercase
Mid Method returns the length of the string
Replace Method performs a search and replace operation
Right Method returns rightmost characters
Split Method segments the string
StartsWith Method compares the beginning of two strings
ToFloat Method converts the string to a floating point value
ToInt Method converts the string to an integer value
ToString Method returns a narrow string containing only ASCII characters
ToUtf8String Method returns a narrow string with UTF-8 encoding
Trim Method removes whitespace characters from the ends of the string
Upper Method converts the string to uppercase
Xor Method performs an XOR operation
Copyright © 2024 Ultra Software.
All rights reserved.