isascii - Checks whether c is a 7-bit unsigned char value that fits into the ASCII character set.
isascii("…");
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.
res={_{isascii("abc_012")}}. return res=true. res={_{isascii("abc_012é")}}. return res=false. res={_{isascii("abc_012","12345")}}. return res=true.
{{ include("includes/strings.sn") }}
Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit© 2024 extenso Inc. All rights reserved.