String
Represents a string.
Example:
var x = "Hello, World!";
var unicode = "\u221A"; // √ (Square Root)
fromUnicode(unicode: Integer) -> String
Returns the unicode character from the unicode point unicode
.
startsWith(prefix: String) -> Boolean
Returns whether the string starts with prefix
.
endsWith(suffix: String) -> Boolean
Returns whether the string ends with suffix
.
split(delimiter: String) -> List[String]
Splits the string into a list of strings with the delimiter delimiter
.
length() -> Integer
Returns the length of the string.
uppercase() -> String
Returns the string in all uppercase.
lowercase() -> String
Returns the string in all lowercase.