Case Conversion
[115] toupper-specification = (toupper case-conversion-list)
[116] tolower-specification = (tolower case-conversion-list)
[117] case-conversion-list = ((character character))*
In the case-conversion-list, the upper-case or lower-case
equivalent of the first character in each pair is the second character
in that pair according as the case-conversion-list occurs in a
toupper-specification or a tolower-specification.
8.5.8.3 Character Type Predicate
(char? obj)
Returns #t if obj is a character, and otherwise returns #f.
8.5.8.4 Character Comparison Predicates
(char=? char1 char2)
(char<? char1 char2)
(char>? char1 char2)
(char<=? char1 char2)
(char>=? char1 char2)
These procedures impose a total ordering on the set of characters.
All the procedures other than char=? use the current language.
8.5.8.5 Case-insensitive Character Predicates (char-ci=? char1 char2)
(char-ci<? char1 char2)
(char-ci>? char1 char2)
(char-ci<=? char1 char2)
(char-ci>=? char1 char2)
These procedures are similar to char=? etc., but they treat
upper-case and lower-case letters as the same.
All these procedures use the current language.
For example, (char-ci=? #\A #\a) returns #t.
8.5.8.6 Character Case Conversion
(char-upcase char)
(char-downcase char)
The procedures return the upper- or lower-case equivalent of char
as defined by the current language.
If char has no upper- or lower-case equivalent, char is
returned.
8.5.8.7 Character Properties
(char-property symbol char)
(char-property symbol char obj)
Returns the value of the property symbol of char.
If symbol is not a character property, an error is signaled.
If char does not have a property symbol, then
obj is returned, or if obj was not specified, the
default value of the property is returned.