std-string-upcase | ![]() |
STD-STRCASE
is a replacement for strcase to be able to convert 8-bit foreign characters, and to be acad independent.
STD-STRING-UPCASE
also "destructivly" converts a string to uppercase.
Note
Both functions are dependent on the current stdlib codepage, which defaults to "iso8859-1". It might be dynamically redefined when the codepage is changed. This will only affect characters above (chr 127)
.
(std-strcase "Größer") => "GRÖßER" (setq s "Testname") (std-string-upcase 's) => "TESTNAME" !s => "TESTNAME"
string: a string or a symbol evaluating to a string.
A string converted to uppercase.
If the argument is a symbol, then the value of the symbol is changed.
(std-require 'STDSTR)