[]
        
(Showing Draft Content)

C1.Win.Util.CodeRange.IsSurrogatePair

IsSurrogatePair Method

IsSurrogatePair(string, int)

Whether is pair of surrogate characters.

Declaration
public static bool IsSurrogatePair(string text, int idx)
Public Shared Function IsSurrogatePair(text As String, idx As Integer) As Boolean
Parameters
Type Name Description
string text

The text string for test.

int idx

The index of text.

Returns
Type Description
bool

true if is pair of surrogate characters, otherwise false.

IsSurrogatePair(char[], int)

Whether is pair of surrogate characters.

Declaration
public static bool IsSurrogatePair(char[] text, int idx)
Public Shared Function IsSurrogatePair(text As Char(), idx As Integer) As Boolean
Parameters
Type Name Description
char[] text

The text as character's array for test.

int idx

The index of array.

Returns
Type Description
bool

true if is pair of surrogate characters, otherwise false.