Scilab 6.1.0
- Aide de Scilab
- Chaînes de caractères
- ascii
- asciimat
- blanks
- char
- convstr
- emptystr
- evstr
- grep
- isalphanum
- isascii
- isdigit
- isletter
- isnum
- justify
- length
- part
- prettyprint
- regexp
- sci2exp
- strcat
- strchr
- strcmp
- strcspn
- strindex
- string
- strings
- stripblanks
- strncpy
- strrchr
- strrev
- strsplit
- strspn
- strstr
- strsubst
- strtod
- strtok
- tokenpos
- tokens
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
isascii
tests if character is a 7-bit US-ASCII character
Syntax
res = isascii(str)
Arguments
- str
a character string or an array of integers.
- res
a boolean matrix.
Description
res = isascii(str)
returns %t
(TRUE) if entries of str
are a 7-bit
US-ASCII character code between 0 and octal 0177 inclusive (or
entries of str
are 7-bit US-ASCII characters).
Otherwise returns %f
(FALSE).
Examples
letters = [115. 99. 105. 108. 97. 98.] isascii(letters) ascii(letters) isascii('scilab')
See also
- isalphanum — check that characters of a string are alphanumerics
Report an issue | ||
<< isalphanum | Chaînes de caractères | isdigit >> |