IsSurrogate()
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)
Arguments
Parameter | Type | Description |
---|---|---|
c | char_t | A character |
Return Value
True if the specified character is a UTF-16 surrogate code unit, otherwise - false
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)
Arguments
Parameter | Type | Description |
---|---|---|
s | const String& | A string |
index | int | The index of the character in the specified string |
Return Value
True if the character at the specified index is a UTF-16 surrogate code unit, otherwise - false
See Also
- Class Char
- Class String
- Namespace System
- Library Aspose.Slides