string trim - part-cw/lambdanative GitHub Wiki

(string-trim str)

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."