std-isupper, std-islower | ![]() |
STD-ISUPPER
returns T if the given argument is a string of one chracter (length 1) or a positive integer number and the character representation is a uppercase alphabetic character, independent of the used language or codepage. [A-Z,À-ß] in Latin-1
STD-ISLOWER
is for testing lowercase characters. [a-z,à-ÿ] in Latin-1.
Corresponding Common Lisp names: upper-case-p
, lower-case-p
Note
Both functions are dependent on the current stdlib codepage, which defaults to "iso8859-1" or Latin-1. It might be dynamically redefined when the codepage is changed. This will only affect characters above (CHR 127)
.
ch: a one character string or a integer number
T or nil.
None.
(std-require 'STDSTR)