Returns 1 if the Unicode value at position start is the high half of a surrogate pair (which should appear first in the pair). Returns 0 otherwise.
uhighsurr(uchar_expr, start)
is a character-type column name, variable, or constant expression of unichar or univarchar type.
specifies the character position to investigate.
uhighsurr, a string function, allows you to write explicit code for surrogate handling. Specifically, if a substring starts on a Unicode character where uhighsurr is true, extract a substring of at least 2 Unicode values (substr does not extract half of a surrogate pair).
If uchar_expr is NULL, uhighsurr returns NULL.
For general information about string functions, see “String functions”.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute uhighsurr.
Function ulowsurr
Copyright © 2005. Sybase Inc. All rights reserved. |