IS-LEAD-BYTE function
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Returns TRUE if the first character of the string is the lead-byte of a multi-byte character. Returns FALSE if it is not.
Syntax
|
- 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 TRUE because the first byte of the first character is the lead-byte of a double-byte character. The output is "Lead: yes":
