std::core::string

Submodules

ansiconviterator

Public

Types

NameDescription
SplitterOptions

Functions

NameDescription
string::tokenize_allCreate a Splitter to track tokenizing of a string. Tokenize will turn "foo:bar::baz" into...
string::treplaceReplace all instances of one substring with a different string, allocating the new string on the temp allocator.
string::str_view
string::to_ulong
string::to_upper_tcopy
string::tsplitThis function is identical to String.split, but implicitly uses the...
string::tfrom_structThis macro will create a temporary string description of a struct.
string::len
string::strip_endStrip the end of the string if the suffix exists.
string::snake_to_pascal_copyConvert a string from `snake_case` to PascalCase.
string::stripStrip the front of the string if the prefix exists.
string::quick_zstrReturn a pointer to the string *iff* it is a pointer...
string::@char32Create a slice of an UTF32 encoded string at compile time.
string::convert_to_lowerConvert a string to ASCII lower case in place.
string::tcopy
string::to_utf16Convert an UTF-8 string to UTF-16
string::formatReturn a new String created using the formatting function.
string::@wstring32Create a pointer to an UTF32 encoded string at compile time.
string::@sprintf
string::trimRemove characters from the front and end of a string.
string::containsCheck if a substring is found in the string.
string::capitalize_copy
string::to_utf32
string::join
string::escapeEscape a string by adding quotes and converting special characters to escape sequences.
string::tfrom_wstring
string::to_int
string::zstr_copy
string::is_zstrDetermine whether the current string actually points to a ZString-like string....
string::utf8_codepoints
string::trim_charsetRemove characters from the front and end of a string.
string::to_wstring
string::pascal_to_snake_copyConvert a string from `PascalCase` to `snake_case`.
string::concat
string::to_temp_wstring
string::free
string::ends_withCheck if the String ends with the suffix.
string::from_structThis macro will create a string description of a struct.
string::to_uint
string::tfrom_utf16
string::to_ichar
string::iterator
string::tformatReturn a temporary String created using the formatting function.
string::to_temp_utf16
string::index_ofFind the index of the first incidence of a string.
string::decfloat
string::unescapeUnescape a quoted string by parsing escape sequences.
string::char_len
string::rindex_ofFind the index of the last incidence of a string.
string::to_long
string::to_upper_copyReturns a string converted to ASCII upper case.
string::index_of_charsFind the index of the first incidence of a one of the chars.
string::contains_charCheck if a character is found in the string.
string::split_to_bufferSplit a string into parts, e.g "a|b|c" split with "|" yields { "a", "b", "c" }
string::tokenizeCreate a Splitter to track tokenizing of a string. Tokenize will turn "foo:bar::baz" into...
string::to_float
string::to_int128
string::tunescapeUnescape a quoted string using the temp allocator.
string::char_in_setCheck if a character is in a set.
string::tformat_zstrReturn a temporary ZString created using the formatting function.
string::splitSplit a string into parts, e.g "a|b|c" split with "|" yields { "a", "b", "c" }
string::to_lower_copy
string::rindex_of_charFind the index of the first incidence of a character starting from the end.
string::eq
string::convert_to_upperConvert a string to ASCII upper case.
string::to_uint128
string::splitter
string::copyCopy this string, by duplicating the string, always adding a zero byte...
string::needs_escapeCheck if a character needs to be escaped in a string literal.
string::@char16Create a slice of an UTF32 encoded string at compile time.
string::trim_leftRemove characters from the front of a string.
string::to_ushort
string::from_utf16
string::from_utf32
string::to_integerConvert a number to a given base. If the base is not given, then...
string::to_uchar
string::replaceReplace all instances of one substring with a different string.
string::to_short
string::starts_withCheck if the String starts with the prefix.
string::countCheck how many non-overlapping instances of a substring there is....
string::trim_rightRemove characters from the end of a string.
string::escape_lenCalculate the length needed for an escaped string (including quotes).
string::index_of_charFind the index of the first incidence of a string.
string::from_wstring
string::convert_snake_to_pascalMovifies the current string from `snake_case` to PascalCase.
string::@wstringCreate a WString (an UTF16 encoded string) at compile time.
string::tconcat
string::to_double
string::to_temp_utf32
string::hexfloat
string::zstr_tcopy
string::index_of_char_fromFind the index of the first incidence of a character.
string::to_lower_tcopy
string::bformatReturn a new String created using the formatting function, the resulting string must fit the buffer.
string::tescapeEscape a string using the temp allocator.

Globals

NameDescription
B1B_DIG
B1B_MAX
MASK
KMAX

Private

Functions

NameDescription
string::to_real

Globals

NameDescription
SURROGATE_LOW_VALUE
SURROGATE_CODEPOINT_MASK
SURROGATE_BITS
SURROGATE_HIGH_VALUE
SURROGATE_MASK
SURROGATE_GENERIC_MASK
SURROGATE_OFFSET