Public Functions

native static vararg String Format(
String fmt,
​.​.​.
)

native vararg void AppendFormat(
String fmt,
​.​.​.
)

native void Replace(
String pattern,
String replacement
)

native String Left(int len) const

native String Mid(
int pos = 0,
int len = 2147483647
) const

native void Truncate(int newlen)

native void Remove(
int index,
int remlen
)

native String CharAt(int pos) const
🛇deprecated since 4.1.0: use Left() or Mid() instead

native int CharCodeAt(int pos) const
🛇deprecated since 4.1.0: use ByteAt() instead

native int ByteAt(int pos) const

native String Filter()

native int IndexOf(
String substr,
int startIndex = 0
) const

native int LastIndexOf(
String substr,
int endIndex = 2147483647
) const
🛇deprecated since 3.5.1: use RightIndexOf() instead

native int RightIndexOf(
String substr,
int endIndex = 2147483647
) const

native void ToUpper()
🛇deprecated since 4.1.0: use MakeUpper() instead

native void ToLower()
🛇deprecated since 4.1.0: use MakeLower() instead

native String MakeUpper() const

native String MakeLower() const

native static int CharUpper(int ch)

native static int CharLower(int ch)

native int ToInt(int base = 0) const

native double ToDouble() const

native void Split(
out Array< String > tokens,
String delimiter,
EmptyTokenType keepEmpty = TOK​_KEEPEMPTY
) const

native void AppendCharacter(int c)

native void DeleteLastCharacter()

native int CodePointCount() const

native int, int GetNextCodePoint(
int position
) const

native void Substitute(
String str,
String replace
)

native void StripRight(String junk = "")