string upcase! - part-cw/lambdanative GitHub Wiki
(string-upcase! str)
string-upcase! converts the original string to uppercase. This one replaces the original string too!
| Parameter | Description |
|---|---|
| str | Input string |
Example
Example 1: Convert a string to uppercase (in place)
> (define mystr "This is a test.")
> mystr
"This is a test."
> (string-upcase! mystr)
"THIS IS A TEST."
> mystr
"THIS IS A TEST."