string.ql
Function | Description |
---|---|
native fun length() on string | Gets the length of a string. |
native fun contains(comparing) on string | Checks if the string contains the given string. |
native fun substring(beginIndex) on string | Returns a substring of the current string from the given index. |
native fun substring(beginIndex, endIndex) on string | Returns a substring of the current string from and to specified indices |
native fun toUpper() on string | Returns the string in all uppercase. |
native fun toLower() on string | Returns the string in all lowercase. |
native fun format(formatList) on string | Performs typical C-style string formatting. Only strings, doubles, and integers are supported. |
native fun toInt() on string | Converts the string to an integer. |