Char: IsHighSurrogateStr

IsHighSurrogateStr

Indicates where the character in the string at the specified index is a high surrogate code unit.



 Public Function IsHighSurrogateStr(
	  ByRef s As String,
	  ByVal Index As Long ) As Boolean

Parameters

s
[ByRef] String. A string.
Index
[ByVal] Long. The position of the character to evaluate in s.

Return Values

Boolean -  True if the value of c parameter ranges from U+D800 to U+DBFF; otherwise, False.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException index is not a position within s.

See Also

Project CorLib Overview

Class Char Overview

IsHighSurrogate

IsLowSurrogate

IsLowSurrogateStr

IsSurrogate

IsSurrogateStr