Gets information about unicode character.
More...
#include <char_unicode_info.h>
Gets information about unicode character.
◆ GetDecimalDigitValue() [1/2]
static int System::Globalization::CharUnicodeInfo::GetDecimalDigitValue |
( |
char16_t |
ch | ) |
|
|
static |
Gets decimal digit value of the specified character.
- Parameters
-
- Returns
- The decimal digit value or -1 if the specified character is not a decimal digit.
◆ GetDecimalDigitValue() [2/2]
static int System::Globalization::CharUnicodeInfo::GetDecimalDigitValue |
( |
const String & |
str, |
|
|
int |
index |
|
) |
| |
|
static |
Gets decimal digit value of the character at the specified index of the string.
- Parameters
-
str | The string containing unicode character. |
index | The index of the unicode character. |
- Returns
- The decimal digit value or -1 if the specified character is not a decimal digit.
◆ GetDigitValue() [1/2]
static int System::Globalization::CharUnicodeInfo::GetDigitValue |
( |
char16_t |
ch | ) |
|
|
static |
Gets digit value of the specified character.
- Parameters
-
- Returns
- The digit value or -1 if the specified character is not a digit.
◆ GetDigitValue() [2/2]
static int System::Globalization::CharUnicodeInfo::GetDigitValue |
( |
const String & |
str, |
|
|
int |
index |
|
) |
| |
|
static |
Gets digit value of the character at the specified index of the string.
- Parameters
-
str | The string containing unicode character. |
index | The index of the unicode character. |
- Returns
- The digit value or -1 if the specified character is not a digit.
◆ GetNumericValue() [1/2]
static double System::Globalization::CharUnicodeInfo::GetNumericValue |
( |
char16_t |
ch | ) |
|
|
static |
Gets numeric value associated with the specified character.
- Parameters
-
- Returns
- The numeric value or -1 if the specified character is not a numeric character.
◆ GetNumericValue() [2/2]
static double System::Globalization::CharUnicodeInfo::GetNumericValue |
( |
const String & |
str, |
|
|
int |
index |
|
) |
| |
|
static |
Gets numeric value associated with the character at the specified index of the string.
- Parameters
-
str | The string containing unicode character. |
index | The index of the unicode character. |
- Returns
- The numeric value or -1 if the specified character is not a numeric character.
◆ GetUnicodeCategory() [1/2]
static UnicodeCategory System::Globalization::CharUnicodeInfo::GetUnicodeCategory |
( |
char16_t |
ch | ) |
|
|
static |
Gets unicode category of the character.
- Parameters
-
- Returns
- Unicode category.
◆ GetUnicodeCategory() [2/2]
static UnicodeCategory System::Globalization::CharUnicodeInfo::GetUnicodeCategory |
( |
const String & |
str, |
|
|
int |
index |
|
) |
| |
|
static |
Gets unicode category of the character at the specified index of the string.
- Parameters
-
str | The string containing unicode character. |
index | The index of the unicode character. |
- Returns
- Unicode category.