Nyquist / XLISP 2.0  - 
Contents |
Tutorials |
Examples |
Reference
alphanumericp
  | Type: | - | predicate function (subr) | 
  | Source: | - | xlstr.c | 
Syntax
- (alphanumericp char)
- char - a character expression
 returns -  T  if the character
is alphabetic or a digit, NIL otherwise
 
Description
 The 'alphanumericp' function checks if the 'char' expression is an
alphabetic or a digit character. If 'char' is an alphabetic
[either an upper or lower case] or a digit character,
 T  is returned, otherwise
NIL is returned. Note that XLISP is limited to
ASCII characters, so there is no way
to find out if an Unicode character with a
char-code greater than
ASCII 127 is alphanumeric or not.
Examples
(alphanumericp #\A)  => T
(alphanumericp #\a)  => T
(alphanumericp #\1)  => T
(alphanumericp #\[)  => NIL
See also:
  Back to Top
Nyquist / XLISP 2.0  - 
Contents |
Tutorials |
Examples |
Reference