All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

string-trim-whitespace Function

Summary

Trims whitespace characters from the beginning and end of a string.

Package

hcl

Signature

string-trim-whitespace string => trimmed-string

Arguments
string
A string.
Values
trimmed-string
A string.
Description

The function string-trim-whitespace returns a substring of string, with all whitespace characters stripped off the beginning and end. A whitespace character is a character for which whitespace-char-p returns t.

See also

whitespace-char-p
cl:string-trim


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35