import "util/string";
Note: use the string_
prefix when not using classes.
function String::substring(start: Integer): String
function String::substring(start: Integer, end: Integer): String
static function String::join(array: Dynamic[], delim: String): String
function String::split(char: Integer): String[]
function String::split(char: Integer, multi: Boolean): String[]
function String::starts_with(match: String): Boolean
function String::ends_with(match: String): Boolean
function String::replace_char(char: Integer, replacement: Integer): String
function String::replace_char_inplace(char: Integer, replacement: Integer)
String::replace_char
function that modifies the string in-place.
function String::replace_string(search: String, replacement: Integer): String
function String::replace_string_inplace(search: String, replacement: String)
String::replace_string
function that modifies the string in-place.
static function String::char(char: Integer): String
function String::to_lower_case(): String
function String::to_upper_case(): String
function String::trim(): String
function String::trim(is_whitespace_func): String
function String::trim_inplace()
function String::trim_inplace(is_whitespace_func)
String::trim
functions that modify the original string in-place.
function String::pad_left(len: Integer): String
function String::pad_left(len: Integer, char: Integer): String
function String::pad_right(len: Integer): String
function String::pad_right(len: Integer, char: Integer): String
function String::search_char(char: Integer): Integer
function String::search_char(char: Integer, start: Integer): Integer
function String::search_char(char: Integer, start: Integer, end: Integer): Integer
function String::rev_search_char(char: Integer): Integer
function String::rev_search_char(char: Integer, end: Integer): Integer
function String::rev_search_char(char: Integer, start: Integer, end: Integer): Integer
String::search_char
functions that search from the end.
function String::search_multi_char(chars: String): Integer
function String::search_multi_char(chars: String, start: Integer): Integer
function String::search_multi_char(chars: String, start: Integer, end: Integer): Integer
String::search_char
functions that search multiple characters.
function String::rev_search_multi_char(chars: String): Integer
function String::rev_search_multi_char(chars: String, end: Integer): Integer
function String::rev_search_multi_char(chars: String, start: Integer, end: Integer): Integer
String::search_multi_char
functions that search from the end.
function String::search_string(search: String): Integer
function String::search_string(search: String, start: Integer): Integer
function String::search_string(search: String, start: Integer, end: Integer): Integer
function String::rev_search_string(search: String): Integer
function String::rev_search_string(search: String, end: Integer): Integer
function String::rev_search_string(search: String, start: Integer, end: Integer): Integer
String::search_string
functions that search from the end.
function String::contains(search: String): Boolean
static function String::compare(s1: String, s2: String): Integer
static function String::parse_hex_int(s: String): Integer
static function String::parse_hex_int(s: String, default_value: Integer): Integer
static function String::parse_hex_int(s: String, off: Integer, len: Integer): Integer
static function String::parse_hex_int(s: String, off: Integer, len: Integer, default_value: Integer): Integer
static function String::parse_long(s: String): Long
static function String::parse_long(s: String, default_value: Long): Long
static function String::parse_long(s: String, off: Integer, len: Integer): Long
static function String::parse_long(s: String, off: Integer, len: Integer, default_value: Long): Long
static function String::parse_double(s: String): Double
static function String::parse_double(s: String, default_value: Double): Double
static function String::parse_double(s: String, off: Integer, len: Integer): Double
static function String::parse_double(s: String, off: Integer, len: Integer, default_value: Double): Double
static function String::from_int(value: Integer): String
static function String::from_int(s: String, value: Integer): String
static function String::from_hex_int(value: Integer): String
static function String::from_hex_int(s: String, value: Integer): String
static function String::from_float(value: Float): String
static function String::from_long(value: Long): String
static function String::from_long(s: String, value: Long): String
static function String::from_double(value: Double): String
static function String::from_double(s: String, value: Double): String