Trim string

Purpose: Trim a string.

trim-string <string>

trim-string trims <string>, both on left and right.
Examples
The variable "str" will be "some string" after trim-string:
set-string str = "  some string  ";
trim-string str

See also
Strings
copy-string  
count-substring  
delete-string  
double-string  
lower-string  
match-regex  
new-string  
number-string  
read-split  
replace-string  
scan-string  
set-string  
split-string  
string-double  
string-expressions  
string-length  
string-number  
trim-string  
upper-string  
write-string  
See all
documentation


Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.