Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## IS-LEAD-BYTE function

> 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 © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095