ISLEADBYTE( ) Function

JavaScript Editor js editor     Web development 



Main Page

Returns true (.T.) if the first byte of the first character in a character expression is the lead byte of a double-byte character.

ISLEADBYTE(cExpression)

Parameters

cExpression


Specifies the character expression that ISLEADBYTE(В ) evaluates. Any bytes after the first byte in the first character in cExpression are ignored.

Return Value

Logical

Remarks

ISLEADBYTE(В ) returns true (.T.) if the first byte of the first character in a character expression is the lead byte in a double-byte character. If ISLEADBYTE(В ) returns false (.F.), the character being tested is a single-byte character.

This function is useful for manipulating double-byte character sets for languages such as Hiragana and Katakana.

See Also



JavaScript Editor js editor     Web development