file
StringUtils.hNamespace Death::
Namespaces
- namespace Death
- Shared root namespace.
- namespace Death::Containers
- Container implementations.
- namespace Death::Containers::StringUtils
- String utilities.
Functions
- auto commonPrefix(StringView a, StringView b) -> StringView
- Longest common prefix of two strings.
- void lowercaseInPlace(MutableStringView string)
- Convert ASCII characters in a string to lowercase, in place.
- auto lowercase(StringView string) -> String
- Convert ASCII characters in a string to lowercase.
- auto lowercase(String string) -> String
- void uppercaseInPlace(MutableStringView string)
- Convert ASCII characters in a string to uppercase, in place.
- auto uppercase(StringView string) -> String
- Convert ASCII characters in a string to uppercase, in place.
- auto uppercase(String string) -> String
- auto lowercaseUnicode(StringView string) -> String
- Convert characters in a UTF-8 string to lowercase with slower Unicode-aware method.
- auto uppercaseUnicode(StringView string) -> String
- Convert characters in a UTF-8 string to uppercase with slower Unicode-aware method.
- auto equalsIgnoreCase(StringView string1, StringView string2) -> bool
- Determine whether two strings have the same value, ignoring case (ASCII characters only)
- auto replaceFirst(StringView string, StringView search, StringView replace) -> String
- Replace first occurrence in a string.
- auto replaceAll(StringView string, StringView search, StringView replace) -> String
- Replace all occurrences in a string.
- auto replaceAll(String string, char search, char replace) -> String
- Replace all occurrences of a character in a string with another character.
- void replaceAllInPlace(MutableStringView string, char search, char replace)
- Replace all occurrences of a character in a string with another character in-place.