Functions | |
| template<expr::AnyString TLeft, expr::AnyString TRight> | |
| bool | Compare (const TLeft &in_rLeft, const TRight &in_rRight, bool in_isCaseSensitive=true) |
| template<expr::AnyString TString, expr::AnyString TSubString> | |
| bool | Contains (const TString &in_rStr, const TSubString &in_rSubStr, bool in_isCaseSensitive=true) |
| template<expr::AnyString TDst, expr::AnyString TSrc> | |
| std::conditional_t< std::is_same_v< TDst, TSrc > &&!std::is_pointer_v< TSrc >, const TDst &, TDst > | Convert (const TSrc &in_rStr) |
| template<expr::AnyString TString, typename TChar = expr::GetCharType_t<TString>> | |
| expr::InferredString< TString > | Escape (const TString &in_rStr, TChar in_searchChar, TChar in_escapeChar=TChar('\\')) |
| template<expr::AnyString TString> | |
| expr::InferredString< TString > | Format (const TString in_str,...) |
| template<expr::AnyString TString> | |
| size_t | GetWidth (const TString &in_rStr) |
| template<expr::AnyString TString, expr::AnyString TUrl, typename TOut = expr::PrecedentInferredString<TString, TUrl>> | |
| TOut | Hyperlink (const TString &in_rStr, const TUrl &in_rUrl) |
| template<expr::AnyString TDelimiter, expr::AnyString TCollection> | |
| expr::InferredString< TCollection > | Join (const TDelimiter &in_rDelimiter, const std::vector< TCollection > &in_rStrings) |
| template<expr::AnyString TDelimiter, expr::AnyString... TArgs, typename TOut = expr::PrecedentInferredString<TDelimiter, TArgs...>> | |
| TOut | Join (const TDelimiter &in_rDelimiter, const TArgs &... in_rArgs) |
| template<expr::AnyString TString, expr::AnyString TPadString, typename TOut = expr::PrecedentInferredString<TString, TPadString>> | |
| TOut | Pad (const TString &in_rStr, const TPadString &in_rPadStr) |
| template<typename TOut, expr::AnyString TString> | |
| TOut | Parse (const TString &in_rStr) |
| template<expr::AnyString... TArgs, typename TOut = expr::PrecedentInferredString<TArgs...>> | |
| std::array< TOut, sizeof...(TArgs)> | PrecedentConvert (const TArgs &... in_rArgs) |
| template<expr::AnyString TString> | |
| expr::InferredString< TString > | RemoveXmlTags (const TString &in_rStr) |
| template<expr::AnyString TString, expr::AnyString TDelimiter, typename TOut = expr::PrecedentInferredString<TString, TDelimiter>> | |
| std::vector< TOut > | Split (const TString &in_rStr, const TDelimiter &in_rDelimiter) |
| template<expr::AnyString TString> | |
| expr::InferredString< TString > | ToLower (const TString &in_rStr) |
| template<expr::AnyString TString> | |
| expr::InferredString< TString > | ToUpper (const TString &in_rStr) |
| template<expr::AnyString TString, typename TChar = expr::GetCharType_t<TString>> | |
| expr::InferredString< TString > | TrimStart (const TString &in_rStr, std::optional< std::vector< TChar > > in_trimChars={}) |
| template<expr::AnyString TString, typename TChar = expr::GetCharType_t<TString>> | |
| expr::InferredString< TString > | TrimEnd (const TString &in_rStr, std::optional< std::vector< TChar > > in_trimChars={}) |
| template<expr::AnyString TString, typename TChar = expr::GetCharType_t<TString>> | |
| expr::InferredString< TString > | Trim (const TString &in_rStr, std::optional< std::vector< TChar > > in_trimChars={}) |
| template<expr::AnyString TString> | |
| expr::InferredString< TString > | Truncate (const TString &in_rStr, size_t in_maxLength, bool in_truncateEnd=true, bool in_ellipsis=true) |
| template<expr::BasicString TString, typename TValue> | |
| TString | ToHex (TValue in_value, size_t in_maxLength=sizeof(size_t) *2, bool in_prefix=true) |
| template<expr::AnyString TDst, expr::AnyString TSrc> | |
| bool | TryConvert (const TSrc &in_rSrc, TDst &out_rDst) |
| template<typename TOut, expr::AnyString TString> | |
| bool | TryParse (const TString &in_rStr, TOut &out_rValue) |
| template<expr::AnyString TString> | |
| expr::InferredString< TString > | Wrap (const TString &in_rStr, size_t in_maxWidth) |
|
inline |
Compares two strings.
| in_rLeft | The first string. |
| in_rRight | The second string. |
| in_isCaseSensitive | Determines whether the comparison should be case sensitive. |
|
inline |
Checks if a string contains a substring.
| in_rStr | The string to check. |
| in_rSubStr | The substring to search for. |
| in_isCaseSensitive | Determines whether the search should be case sensitive. |
|
inline |
Converts a string to a different encoding format.
| TDst | The string type to convert to. |
| TSrc | The string type to convert from. |
| in_rStr | The string to convert. |
| out_rDst | The output string to set. |
|
inline |
Escapes all instances of a character in a string with an escape sequence.
| TString | The input string type. |
| TChar | The search and escape character type inferred from the input string type. |
| in_rStr | The string to escape. |
| in_searchChar | The character to search for and escape. |
| in_escapeChar | The character to escape with. |
|
inline |
Formats a string.
| TString | The input string type. |
| in_str | The string to format. |
|
inline |
Gets the width of a string.
| TString | The input string type. |
| in_rStr | The string to search. |
|
inline |
Formats a string to have a HTML hyperlink.
| TString | The input string type. |
| in_rStr | The string to display. |
| in_rUrl | The URL to use. |
|
inline |
Joins a collection of strings together using a delimiter.
| TDelimiter | The delimiter string type. |
| TCollection | The collection string type. |
| in_pDelimiter | The delimiter to join the strings with. |
| in_rStrings | The strings to join. |
|
inline |
Joins a collection of strings together using a delimiter.
| TDelimiter | The delimiter string type. |
| TArgs | The string types. |
| in_pDelimiter | The delimiter to join the strings with. |
| in_rArgs | The strings to join. |
|
inline |
Pads a string with another.
| TString | The input string type. |
| TPadString | The pad string type. |
| in_rStr | The string to pad. |
| in_rPadStr | The string to pad with. |
|
inline |
Parses a value from a string.
| TOut | The value type to parse. |
| TString | The input string type. |
| in_rStr | The string to parse. |
|
inline |
Converts multiple strings to share the same encoding format.
| TArgs | The string types. |
| TOut | The string type to convert to inferred from the string with the largest character size. |
| in_rArgs | The strings to convert. |
|
inline |
Omits XML tags from a string.
| TString | The input string type. |
| in_str | The string to omit XML tags from. |
|
inline |
Splits a string into a collection using a delimiter.
| TString | The input string type. |
| TDelimiter | The delimiter string type. |
| in_rStr | The string to split. |
| in_rDelimiter | The delimiter to split the string with. |
|
inline |
Transforms a value into a hexadecimal string.
| TString | The output string type. |
| TValue | The input value type. |
| in_value | The value to transform. |
| in_maxLength | The maximum number of leading zeroes to display. |
| in_prefix | Determines whether to use the "0x" prefix. |
|
inline |
Transforms a string to lowercase.
| TString | The input string type. |
| in_rStr | The string to transform to lowercase. |
|
inline |
Transforms a string to uppercase.
| TString | The input string type. |
| in_rStr | The string to transform to uppercase. |
|
inline |
Removes all leading and trailing occurrences of a set of characters from the input string.
| TString | The input string type. |
| TChar | The trim character type inferred from the input string type. |
| in_rStr | The string to trim. |
| in_trimChars | The characters to trim off. |
|
inline |
Removes all trailing occurrences of a set of characters from the input string.
| TString | The input string type. |
| TChar | The trim character type inferred from the input string type. |
| in_rStr | The string to trim. |
| in_trimChars | The characters to trim off. |
|
inline |
Removes all leading occurrences of a set of characters from the input string.
| TString | The input string type. |
| TChar | The trim character type inferred from the input string type. |
| in_rStr | The string to trim. |
| in_trimChars | The characters to trim off. |
|
inline |
Truncates a string.
| TString | The input string type. |
| in_rStr | The string to truncate. |
| in_maxLength | The maximum length to truncate to. |
| in_truncateEnd | Determines whether to truncate the end of the string, rather than the beginning. |
| in_ellipsis | Determines whether to add an ellipsis to the truncated side of the string. |
|
inline |
Tries to convert a string to a different encoding format.
| TDst | The string type to convert to. |
| TSrc | The string type to convert from. |
| in_rSrc | The string to convert. |
| out_rDst | The output string to set. |
|
inline |
Tries to parse a value from a string.
| TOut | The value type to parse. |
| TString | The input string type. |
| in_rStr | The string to parse. |
| out_rValue | The output value to set. |
|
inline |
Wraps a string to a fixed character length on each line.
| TString | The input string type. |
| in_rStr | The string to wrap. |
| in_maxWidth | The maximum width of each line. |