std-string-capitalize | ![]() |
STD-STRING-CAPITALIZE
"destructivly" converts the first not whitespace letter of a string to uppercase, the rest to lowercase.
Note
It depends on the codepage for STD-STRING-UPCASE
and STD-STRING-DOWNCASE.
(std-string-capitalize "testname name") => "Testname Name" (setq s " testname Name") (std-string-capitalize 's) => " Testname Name" !s => " Testname Name"
string: a string or a symbol evaluating to a string.
A string of capitalized substrings delimited by whitespace.
If the argument is a symbol, then the value of the symbol is changed.
(std-require 'STDSTR)
Defined in STDSTR, it might be influenced by loading STDLOCAL
#- SMALL