IsHexa

Result = IsHexa ( Expr AS String ) AS Boolean Result = Hexa? ( Expr AS String ) AS Boolean

Returns TRUE if the String Expr contains only hexadecimal digits.

An hexadecimal digit is one of the following characters: 0 1 2 3 4 5 6 7 8 9 A B C D E F a b c d e f

Examples

PRINT IsHexa("9A177BA5")
True

PRINT IsHexa("GAMBAS"), IsHexa(""), IsHexa(NULL)
False   False   False

See also