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

string-downcase! converts a string to lowercase. This one replaces the original string too!

Parameter Description
str Input string

Example

Example 1: Convert a string to lowercase - to show the difference to string-downcase

> (define mystr "This is a TEST.")
> mystr
"This is a test."
> (string-downcase! mystr)
"this is a test."
> mystr
"this is a test."
Clone this wiki locally