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



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