function

isascii . string . sncode

VERSIONlatest Checks whether c is a 7-bit unsigned char value that fits into the ASCII character set.

ISASCII

NAME

isascii - Checks whether c is a 7-bit unsigned char value that fits into the ASCII character set.

SYNOPSIS

isascii("…");

DESCRIPTION

This function is used to determine whether the argument is a 7-bit unsigned character value that fits into the ASCII character set.

ASCII stands for American standart code for information interchange. It encodes 128 characters including latin letters, some punctuation, arabic digits, a blank space, and some other characters.

The argument of the function can be a single character or a string. In the latter case, each character has to fit into the ASCII character set for the function to be true.

EXAMPLES

res={_{isascii("abc_012")}}. return res=true.
res={_{isascii("abc_012é")}}. return res=false.
res={_{isascii("abc_012","12345")}}. return res=true.

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>