std::String Namespace
std::String
String slice type for efficient string operations without copying
Classes
slice<Char, Traits>
Represents a slice of a string with specified character type and traits, similar to std::string_view in C++
Functions
concat<T>
Concatenates two C-style strings
concat_n<T>
Concatenates two C-style strings with maximum count
copy<T>
Copies a C-style string
copy_n<T>
Copies a C-style string with maximum count
find<T>
Finds the first occurrence of a character in a C-style string
find_last<T>
Finds the last occurrence of a character in a C-style string
find_any<T>
Finds the first occurrence of any character from accept in str
find_sub<T>
Finds the first occurrence of needle in haystack
split<T>
Splits a string by delimiter
length<T>
Returns the length of a C-style string
prefix_length<T>
Returns the length of the initial segment of str consisting of characters in chars
compare<T>
Compares two C-style strings lexicographically
compare_n<T>
Compares two C-style strings lexicographically up to n characters
compare_locale<T>
Compares two C-style strings according to the current locale
transform<T>
Transforms src string and stores result in dest
error
Returns a string describing the error number