myString := " hello, Trim()! " trimmed := Trim(myString) FileAppend, % trimmed "`n", TrimmedStrings.txt
Note that Trim() will not manipulate the original string, but return a new one which should be stored or output somewhere.
Trim()