lang • isascii

IsAscii

Result = IsAscii ( Argument AS String ) AS Boolean Result = Ascii? ( Argument AS String ) AS Boolean

Returns TRUE if the Argument (after converted to a String) contains only ASCII characters.

An ASCII character is a character whose code is lower or equal than 127.

Examples

Print IsAscii("Gambas"), IsAscii(Now), IsAscii(188)
True    True    True
Print IsAscii("BenoƮt")
False

See also