uhighsurr

Description

Returns 1 if the Unicode value at position start is the higher half of a surrogate pair (which should appear first in the pair). Otherwise, returns 0. This function allows you to write explicit code for surrogate handling.

Syntax

uhighsurr(uchar_expr, start)

Parameters

uchar_expr

is a character-type column name, variable, or constant expression of unichar or univarchar type.

start

specifies the character position to investigate.

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute uhighsurr.

See also

Documentation Transact-SQL Users Guide

Function ulowsurr