System::Char class

Char class

Provides methods for manipulation of characters represented as UTF-16 code units. This is a static type with no instance services. You should never create instances of it by any means.

class Char

Methods

MethodDescription
static ConvertFromUtf32(uint32_t)Converts UTF-32 code unit into an instance of System::String class.
static ConvertToUtf32(char_t, char_t)Converts the specified UTF-16 surrogate pair into UTF-32 code unit.
static ConvertToUtf32(const String&, int)Converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a string into UTF-32 code unit.
static GetNumericValue(char_t)Converts the specified UTF-16 character into double-precision floating-point numerical value.
static GetUnicodeCategory(char_t)Returns a value that represents a Unicode category of specified character.
static IsAsciiWhiteSpace(char_t)Determines whether the specified character is classified as a ASCII white space character.
static IsControl(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as Unicode control character.
static IsControl(char_t)Determines whether the specified character is classified as Unicode control character.
static IsDigit(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as a decimal digit.
static IsDigit(const String&, const int32_t)Determines whether the character at the specified index in the specified string is classified as a decimal digit.
static IsDigit(char_t)Determines whether the specified character is classified as a decimal digit.
static IsHighSurrogate(const String&, int)Determines whether the character at the specified index in the specified string is UTF-16 high surrogate code unit.
static IsHighSurrogate(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is a high surrogate.
static IsHighSurrogate(char_t)Determines whether the specified character is a high surrogate.
static IsLetter(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as Unicode letter.
static IsLetter(char_t)Determines whether the specified character is classified as Unicode letter.
static IsLetterOrDigit(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as Unicode letter or a decimal digit.
static IsLetterOrDigit(char_t)Determines whether the specified character is classified as Unicode letter or a decimal digit.
static IsLower(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as a lower case letter.
static IsLower(char_t)Determines whether the specified character is classified as a lower case letter.
static IsLower(const String&, int)Determines whether the character at the specified index in the specified string is classified as a lower case letter.
static IsLowSurrogate(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is a low surrogate.
static IsLowSurrogate(char_t)Determines whether the specified character is a low surrogate.
static IsNumber(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as a number.
static IsNumber(char_t)Determines whether the specified character is classified as a number.
static IsPunctuation(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as a punctuation character.
static IsPunctuation(char_t)Determines whether the specified character is classified as a punctuation character.
static IsSeparator(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as a separator character.
static IsSeparator(char_t)Determines whether the specified character is classified as a separator character.
static IsSurrogate(char_t)Determines if the specified character is a UTF-16 surrogate code unit.
static IsSurrogate(const String&, int)Determines whether the character at the specified index in the specified string is UTF-16 surrogate code unit.
static IsSurrogatePair(char_t, char_t)Determines whether the two specified characters for a UTF-16 surrogate pair.
static IsSurrogatePair(const String&, int)Determines whether two consequent characters in the specified character buffer are a surrogate pair.
static IsSymbol(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as a symbol character.
static IsSymbol(char_t)Determines whether the specified character is classified as a symbol character.
static IsUpper(const String&, int)Determines whether the character at the specified index in the specified string is classified as an upper case letter.
static IsUpper(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as an upper case letter.
static IsUpper(char_t)Determines whether the specified character is classified as an upper case letter.
static IsWhiteSpace(const char_t *, int)Determines whether the character at the specified index in the specified character buffer is classified as a white space character.
static IsWhiteSpace(char_t)Determines whether the specified character is classified as a white space character.
static IsWhiteSpace(const String&, int)Determines whether the character at the specified index in the specified string is classified as a white space character.
static Parse(const String&)Converts the first and the only character of the specified string to a char_t value.
static ToLower(char_t)Converts the specified character to lower case.
static ToLower(char_t, const SharedPtr<Globalization::CultureInfo>&)Converts the specified character to lower case.
static ToLowerInvariant(char_t)Converts the specified character to lower case.
static ToUpper(char_t)Converts the specified character to upper case.
static ToUpper(char_t, const SharedPtr<Globalization::CultureInfo>&)Converts the specified character to upper case.
static ToUpperInvariant(char_t)Converts the specified character to upper case.
static TryParse(const System::String&, char_t&)Tries to convert a string consisting of a single character into UTF-16 character. The function succeeds only when input string is not null and has length of exactly one character.

See Also