std-string-upcase


Synopsis

(std-strcase <string>)

(std-string-upcase '<string>)

Description

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"

Arguments

string: a string or a symbol evaluating to a string.

Return Value

A string converted to uppercase.

Side Effects

If the argument is a symbol, then the value of the symbol is changed.

Module

(std-require 'STDSTR)

Defined in STDSTR, it might be redefined in STDLOCAL