String comparison (STRING<
and friends) is based on the
function CHAR<=
(see Section 13.9, “Ordering of Characters sec_13-1-6”).
Therefore diphthongs do not obey the usual national rules. Example:
o < oe < z < ö
.
EXT:STRING-WIDTH
(
returns the number of screen columns occupied by
EXT:STRING-WIDTH
string
&KEY
start
end
)string
. This is computed as the sum of all EXT:CHAR-WIDTH
s of all
of the string
's characters:
(REDUCE
#'+
string
:KEY
#'EXT:CHAR-WIDTH
)
EXT:STRING-INVERTCASE
and EXT:NSTRING-INVERTCASE
(
and EXT:STRING-INVERTCASE
string
&KEY
start
end
)(
are similar to EXT:NSTRING-INVERTCASE
string
&KEY
start
end
)STRING-UPCASE
et al: they use EXT:CHAR-INVERTCASE
to
invert the case of each characters in the argument string region.
These notes document CLISP version 2.49.93+ | Last modified: 2018-02-19 |