Table of Contents

isascii

bool isascii(str s)

Description

Returns true if the character is an ASCII character.

To check that the whole string only uses ASCII characters, use StrIsASCII.

Examples

isascii('c') -> true
isascii('รง') -> false