System::Char::IsSurrogate method
Contents
[
Hide
]Char::IsSurrogate(char_t) method
Determines if the specified character is a UTF-16 surrogate code unit.
static bool System::Char::IsSurrogate(char_t c)
Parameter | Type | Description |
---|---|---|
c | char_t | A character |
ReturnValue
True if the specified character is a UTF-16 surrogate code unit, otherwise - false
See Also
- Class Char
- Namespace System
- Library Aspose.PUB for C++
Char::IsSurrogate(const String&, int) method
Determines whether the character at the specified index in the specified string is UTF-16 surrogate code unit.
static bool System::Char::IsSurrogate(const String &s, int index)
Parameter | Type | Description |
---|---|---|
s | const String& | A string |
index | int | The index of the character in the specified string |
ReturnValue
True if the character at the specified index is a UTF-16 surrogate code unit, otherwise - false
See Also
- Class String
- Class Char
- Namespace System
- Library Aspose.PUB for C++