Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

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."
Clone this wiki locally