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

string-trim removes spaces from start and end of string.

Parameter Description
str String operated on

Example

Example 1: Trim a string

> (string-trim "   This is a test.  ")
"This is a test."
Clone this wiki locally