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  
lower-string  
read-split  
replace-string  
set-string  
split-string  
string-length  
trim-string  
upper-string  
write-string  
See all
documentation


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