Previous Page | Next Page

Functions for NLS

UNICODELEN Function



specifies the length of the character unit for the Unicode data.
Category: Character

Syntax
Details
Examples
See Also

Syntax

UNICODELEN()


Details

The UNICODELEN function specifies the length of the character unit for the UNICODE data.


Examples

This example uses the Japanese Shift_JIS session encoding, which is supported under the UNIX operating system.

Statements Results
len1=unicodelen("abc [untitled graphic]"); len1=4
len2=unicodelen("\u0041\u0042\u0043\u5927",'esc') len2=4
len3=unicodelen("大' ,'ncr'); len3=1
len4=unicodelen("<u0061><u0062>",'paren'); len4=2


See Also

Functions:

UNICODEWIDTH Function

Previous Page | Next Page | Top of Page