Progress
Language Reference


IS-LEAD-BYTE Function

Interfaces
OS
SpeedScript
All
All
Yes

Returns YES if the first character of the string is the lead-byte of a multi-byte character. Returns NO if it is not.

SYNTAX

IS-LEAD-BYTE ( string ) 

string

A character expression (a constant, field name, variable name, or any combination of these) whose value is a character.

EXAMPLE

In this example, IS-LEAD-BYTE returns YES because the first byte of the first character is the lead-byte of a double-byte character. The output is “Lead: yes”.

SEE ALSO

OVERLAY Statement, SUBSTRING Statement


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095