@ISCNTRL

<< Click to Display Table of Contents >>

Navigation:  TCC > Variables & Functions > Functions >

@ISCNTRL

@ISCNTRL[string]: Returns 1 if string is entirely composed of ASCII control characters (0x00 - 0x1F or 0x7F); 0 otherwise.

 

See also: @ISALNUM, @ISALPHA, @ISASCII, @ISDIGIT, @ISPRINT, @ISPUNCT, @ISSPACE, @ISXDIGIT.

 

Examples:

 

echo %@iscntrl[abc]

0

 

set var=^r^n

echo %@iscntrl[%var]

1