begin() const | Returns pointer to the beginning of actual string buffer. Never reallocates anything. Doesn’t guarantee buffer to be null-terminated. |
Clone() const | Creates a copy of current string. |
static Compare(const String&, int, const String&, int, int, bool) | Less-equal-greater-compares two substrings. |
static Compare(const String&, int, const String&, int, int, bool, const SharedPtr<System::Globalization::CultureInfo>&) | Less-equal-greater-compares two substrings. |
static Compare(const String&, const String&, System::StringComparison) | Less-equal-greater-compares two strings. |
static Compare(const String&, int, const String&, int, int, System::StringComparison) | Less-equal-greater-compares two strings. |
static Compare(const String&, const String&, bool) | Less-equal-greater-compares two strings. |
static Compare(const String&, const String&, bool, const SharedPtr<System::Globalization::CultureInfo>&) | Less-equal-greater-compares two strings. |
static CompareOrdinal(const String&, const String&) | Less-equal-greater-compares two strings using ordinal mode. |
static CompareOrdinal(const String&, int, const String&, int, int) | Less-equal-greater-compares two strings using ordinal mode. |
CompareTo(const String&) const | Compares two strings in ’less-equals-more’ style. Uses current culture. |
static Concat(const ArrayPtr<String>&) | Concatenates strings. |
static Concat(const String&, const String&) | Concatenates strings. |
static Concat(const String&, const String&, const String&) | Concatenates strings. |
static Concat(const String&, const String&, const String&, const String&) | Concatenates strings. |
Contains(const String&) const | Checks if str is a substring of current string. |
static Copy(const String&) | Creates string copy. |
CopyTo(int, const ArrayPtr<char_t>&, int, int) const | Copies string characters into existing array elements. No resize is being done. |
end() const | Returns pointer to the end of actual string buffer. Never reallocates anything. Doesn’t guarantee buffer to be null-terminated. |
EndsWith(const String&) const | Checks if string ends with specified substring. |
EndsWith(const String&, System::StringComparison) const | Checks if string ends with specified substring. |
EndsWith(const String&, bool, const SharedPtr<System::Globalization::CultureInfo>&) const | Checks if string ends with specified substring. |
Equals(const String&, System::StringComparison) const | String equality comparison. Several modes provided by StringComparison enumeration are supported. |
Equals(const String&) const | String equality comparison. Uses System::StringComparison::Ordinal comparison mode. |
static Equals(const String&, const String&) | Equal-compares two strings using Ordial comparison mode. |
static Equals(const String&, const String&, System::StringComparison) | Equal-compares two strings. |
FastToAscii(char, int) const | Tries to convert a String to an ASCII string. |
static Format(const SharedPtr<IFormatProvider>&, const String&, const Args&…) | Formats string in C# style. |
static Format(std::nullptr_t, const String&, const Args&…) | Formats string in C# style. |
static Format(std::nullptr_t, const char16_t(&), const Args&…) | Formats string in C# style. |
static Format(const String&, const Args&…) | Formats string in C# style. |
static Format(const String&, const System::ArrayPtr<T>&) | Formats string in C# style. |
static FromAscii(const char *) | Creates String from ASCII string. |
static FromAscii(const char *, int) | Creates String from ASCII string. |
static FromAscii(const std::string&) | Creates String from ASCII string. |
static FromUtf16(const std::u16string&) | Creates String from utf16 string. |
static FromUtf32(const uint32_t *, int32_t) | Creates String from utf32 string. |
static FromUtf8(const char *) | Creates String from utf8 string. |
static FromUtf8(const char *, int) | Creates String from utf8 string. |
static FromUtf8(const uint8_t *) | Creates String from utf8 string. |
static FromUtf8(const std::string&) | Creates String from utf8 string. |
static FromWCS(const std::wstring&) | Creates String from widestring. |
get_Length() const | Gets string length. |
GetHashCode() const | Hashes contained string. Implemented in ICU, doesn’t match hashes in C#. |
IndexOf(const String&, System::StringComparison) const | Substring forward lookup. |
IndexOf(char_t, int) const | Character forward lookup. |
IndexOf(char_t, int, int) const | Character forward lookup in substring. |
IndexOf(const String&, int) const | Substring forward lookup. |
IndexOf(const String&, int, System::StringComparison) const | Substring forward lookup. |
IndexOf(const String&, int, int, System::StringComparison) const | Substring forward lookup. |
IndexOf(const String&, int, int) const | Substring forward lookup. |
IndexOfAny(char_t, int) const | Character forward lookup. |
IndexOfAny(const String&, int) const | Consequently looks for all characters of str in this. If first character is found, its position is returned, otherwise looks for the second one and so on. |
IndexOfAny(const ArrayPtr<char_t>&) const | Looks for any of passed characters through the whole string. Compares first string character to all characters in anyOf, then compares second one and so on. Returns index of the first one matching any of the target characters. |
IndexOfAny(const ArrayPtr<char_t>&, int32_t) const | Looks for any of passed characters through substring. Compares first string character to all characters in anyOf, then compares second one and so on. Returns index of the first one matching any of the target characters. |
IndexOfAny(const ArrayPtr<char_t>&, int32_t, int32_t) const | Looks for any of passed characters through substring. Compares first string character to all characters in anyOf, then compares second one and so on. Returns index of the first one matching any of the target characters. |
Insert(int, const String&) const | Inserts substring at specified position. |
Is(const System::TypeInfo&) const | Checks if string object is of type specified by TypeInfo passed. |
IsAsciiString() const | Indicates if a String contains ASCII symbols only. |
IsEmpty() const | Checks if string is both non-null and empty. |
IsNormalized(System::Text::NormalizationForm) const | Checks if unicode string is normalized using normalization form specified. |
IsNull() const | Checks if string is considered null. String is null and only if it is constructed via String() constructor, moved, copied or assigned from null string or reset() method was called. |
IsNullOrEmpty() const | Checks if string is empty or is considered null. |
static IsNullOrEmpty(const String&) | Checks if passed string is null or empty. |
static IsNullOrWhiteSpace(const String&) | Indicates whether a specified string is null, empty, or consists only of white-space characters. |
static Join(const String&, const ArrayPtr<String>&, int, int) | Joins array using string as separator. |
static Join(const String&, const System::Details::ArrayView<String>&, int, int) | Joins array using string as separator. |
static Join(const String&, const SharedPtr<System::Collections::Generic::IEnumerable<String>>&) | Joins array using string as separator. |
static Join(const String&, const ArrayPtr<SharedPtr<Object>>&) | Joins array using string as separator. |
LastIndexOf(const String&, int) const | Substring backward lookup. |
LastIndexOf(const String&, System::StringComparison) const | Substring backward lookup. |
LastIndexOf(const String&, int, System::StringComparison) const | Substring backward lookup. |
LastIndexOf(const String&, int, int, StringComparison) const | Substring backward lookup. |
LastIndexOf(char_t) const | Character backward lookup. |
LastIndexOf(char_t, int32_t) const | Character backward lookup. |
LastIndexOf(char_t, int32_t, int32_t) const | Character backward lookup. |
LastIndexOfAny(const ArrayPtr<char_t>&) const | Looks for any of passed characters through whole string backwardly. Compares last string character to all characters in anyOf, then compares previous one and so on. Returns index of the first match found. |
LastIndexOfAny(const ArrayPtr<char_t>&, int32_t) const | Looks for any of passed characters through substring backwardly. Compares last string character to all characters in anyOf, then compares previous one and so on. Returns index of the first match found. |
LastIndexOfAny(const ArrayPtr<char_t>&, int32_t, int32_t) const | Looks for any of passed characters through substring backwardly. Compares last string character to all characters in anyOf, then compares previous one and so on. Returns index of the first match found. |
Normalize(System::Text::NormalizationForm) const | Normalizes unicode string using normalization form specified. |
operator!=(const String&) const | Non-equality comparison operator. |
operator!=(std::nullptr_t) const | Checks if string is not null. Applies same logic as IsNull() call. |
operator+(const String&) const | String concatenation operator. |
operator+(const T&) const | String concatenation with string literal or character string pointer. |
operator+(char_t) const | Adds character to the end of the string. |
operator+(int) const | Adds integer value string representation to the end of the string. |
operator+(uint32_t) const | Adds unsigned integer value string representation to the end of the string. |
operator+(double) const | Adds floating point value string representation to the end of the string. |
operator+(int64_t) const | Adds integer value string representation to the end of the string. |
operator+(const T&) const | Adds reference type object string representation to the end of the string. |
operator+(const T&) const | Adds reference type object string representation to the end of the string. |
operator+(T) const | Adds boolean value string representation to the end of the string. |
operator+=(char_t) | Concatenation assignment operator. |
operator+=(const String&) | Concatenation assignment operator. |
operator+=(double) | Concatenation assignment operator. |
operator+=(uint8_t) | Concatenation assignment operator. |
operator+=(int16_t) | Concatenation assignment operator. |
operator+=(uint16_t) | Concatenation assignment operator. |
operator+=(int32_t) | Concatenation assignment operator. |
operator+=(uint32_t) | Concatenation assignment operator. |
operator+=(int64_t) | Concatenation assignment operator. |
operator+=(uint64_t) | Concatenation assignment operator. |
operator+=(T) | Concatenation assignment operator. |
operator<(const String&) const | Order-compares strings. |
operator=(const String&) | Assignment operator. |
operator=(String&&) | Move assignment operator. |
operator==(const String&) const | Equality comparison operator. |
operator==(std::nullptr_t) const | Checks if string is null. Applies same logic as IsNull() call. |
operator[](int) const | Gets character at specified position. |
PadLeft(int, char_t) const | Adds padding on the left of original string. |
PadRight(int, char_t) const | Adds padding on the right of original string. |
rbegin() const | Returns reverse iterator to the last character (if any) of actual string buffer. |
Remove(int32_t, int32_t) const | Extracts everything but substring from current string. |
rend() const | Returns reverse iterator to the before first character (if any) of actual string buffer. |
Replace(char_t, char_t) const | Replaces all occurrences of character in the string. |
Replace(const String&, const String&) const | Replaces all occurrences of lookup in this string. |
reset() | Sets string to null. Is analogous to ‘string_variable_name = null’ in C#. |
SetCharAt(int, char_t) | Sets character at specified position. |
Split(char_t, StringSplitOptions) const | Splits string by character. |
Split(char_t, int32_t, StringSplitOptions) const | Splits string by character. |
Split(char_t, char_t, StringSplitOptions) const | Splits string by one of two characters. |
Split(const ArrayPtr<char_t>&, StringSplitOptions) const | Splits string by one of characters specified. |
Split(const ArrayPtr<char_t>&, int32_t, StringSplitOptions) const | Splits string by one of characters specified. |
Split(const String&, StringSplitOptions) const | Splits string by substring. |
Split(const String&, int, StringSplitOptions) const | Splits string by substring. |
Split(const ArrayPtr<String>&, StringSplitOptions) const | Splits string by substring. |
Split(const ArrayPtr<String>&, int, StringSplitOptions) const | Splits string by substring. Currently, only supports separators array of zero or one elements. |
StartsWith(const String&) const | Checks if string begins with specified substring. |
StartsWith(const String&, System::StringComparison) const | Checks if string begins with specified substring. |
StartsWith(const String&, bool, const SharedPtr<System::Globalization::CultureInfo>&) const | Checks if string begins with specified substring. |
String() | Default constructor. Creates string object which is considered null. |
String(T&, typename std::enable_if<IsStringLiteral<T, char16_t>::value>::type *) | Constructs string based on string literal. Considers literal a null-terminated string, calculates target string length based on literal size. |
String(const T&, typename std::enable_if<IsStringPointer<T, char16_t>::value>::type *) | Constructs string based on character string pointer. Treats pointed string as null-terminated, calculates target string length based on null character. |
explicit String(T&, typename std::enable_if<IsStringLiteral<T, char>::value>::type *) | Constructs string based on string literal. Considers literal a null-terminated string in UTF8, calculates target string length based on literal size. |
explicit String(const T&, typename std::enable_if<IsStringPointer<T, char>::value>::type *) | Constructs string based on character string pointer. Treats pointed string as null-terminated in UTF8, calculates target string length based on null character. |
String(const char16_t *, int) | Constructs string from character string pointer and explicit length. |
String(const char *, int) | Constructs string from character string pointer and explicit length. |
String(const char16_t *, int, int) | Constructs string from character string pointer from starting position using length. |
explicit String(const char16_t, int) | Fill constructor. |
String(const T&, typename std::enable_if<std::is_same<T, std::nullptr_t>::value>::type *) | Nullptr constructor. Declared as template to resolve priorities with other template constructors. |
explicit String(T&, typename std::enable_if<IsStringLiteral<T, wchar_t>::value>::type *) | Constructs string based on widestring literal. Considers literal a null-terminated string, calculates target string length based on literal size. Conversion from wchar_t is time-consuming on some platforms, so no implicit conversions are allowed. |
explicit String(const T&, typename std::enable_if<IsStringPointer<T, wchar_t>::value>::type *) | Constructs string based on widecharacter string pointer. Treats pointed string as null-terminated, calculates target string length based on null character. Conversion from wchar_t is time-consuming on some platforms, so no implicit conversions are allowed. |
explicit String(const wchar_t *, int) | Constructs string from widecharacter string pointer and explicit length. Conversion from wchar_t is time-consuming on some platforms, so no implicit conversions are allowed. |
explicit String(const wchar_t, int) | Fill constructor. Conversion from wchar_t is time-consuming on some platforms, so no implicit conversions are allowed. |
String(const String&) | Copy constructor. |
String(String&&) | Move constructor. |
String(const ArrayPtr<char16_t>&) | Converts whole character array to string. |
String(const ArrayPtr<char16_t>&, int, int) | Converts character array subrange to string. If parameters are out of array bounds, empty string is constructed. |
explicit String(const codeporting_icu::UnicodeString&) | Wraps UnicodeString into String. |
explicit String(codeporting_icu::UnicodeString&&) | Move constructor. |
explicit String(const std::wstring&) | Creates String from widestring. |
explicit String(const std::u16string&) | Creates String from utf16 string. |
explicit String(const std::string&) | Creates String from std::string string presented in format UTF-8. |
explicit String(const std::u32string&) | Creates String from std::u32string string. |
Substring(int32_t) const | Extracts substring. |
Substring(int32_t, int32_t) const | Extracts substring. |
ToAsciiString() const | Converts string to std::string. Uses ASCII encoding. |
ToByteArray(int32_t, int32_t, bool) const | Converts string or substring to array of bytes. |
ToCharArray(int32_t, int32_t) const | Converts string or substring to array of characters. |
ToLower() const | Converts all string’s characters to lower case. |
ToLower(const SharedPtr<System::Globalization::CultureInfo>&) const | Converts all string’s characters to lower case using specific culture. |
ToLowerInvariant() const | Converts all string’s characters to lower case using invariant culture. |
ToString() const | Wrapper for handling String class in contexts where ToString() is being called on value type objects. |
ToString(const SharedPtr<IFormatProvider>&) const | Wrapper for handling String class in contexts where ToString() is being called on value type objects. |
ToU16Str() const | Converts string to std::u16string. |
ToU32Str() const | Converts string to std::u32string. |
ToUpper() const | Converts all string’s characters to upper case. |
ToUpper(const SharedPtr<System::Globalization::CultureInfo>&) const | Converts all string’s characters to upper case using specific culture. |
ToUpperInvariant() const | Converts all string’s characters to upper case using invariant culture. |
ToUtf8String() const | Converts string to std::string. Uses UTF-8 encoding. |
ToWCS() const | Converts string to std::wstring. |
Trim() const | Removes all whitespace characters from both beginning and end of the string. |
Trim(char_t) const | Removes all occurrences of passed character from both beginning and end of the string. |
Trim(const String&) const | Removes all occurrences of passed characters from both beginning and end of the string. |
Trim(const ArrayPtr<char_t>&) const | Removes all occurrences of passed characters from both beginning and end of the string. |
TrimEnd() const | Removes all whitespace characters from end of the string. |
TrimEnd(char_t) const | Removes all occurrences of passed character from end of the string. |
TrimEnd(const String&) const | Removes all occurrences of passed characters from end of the string. |
TrimEnd(const ArrayPtr<char_t>&) const | Removes all occurrences of passed characters from end of the string. |
TrimStart() const | Removes all whitespace characters from beginning of the string. |
TrimStart(char_t) const | Removes all occurrences of passed character from beginning of the string. |
TrimStart(const String&) const | Removes all occurrences of passed characters from beginning of the string. |
TrimStart(const ArrayPtr<char_t>&) const | Removes all occurrences of passed characters from beginning of the string. |
u_str() const | Returns ICU-styled null-terminated buffer. May reallocate the string. |
~String() | Destructor. |