Name
StripStr -- strip whitespace from string (V7.1)
Synopsis
r$ = StripStr(s$)
Function
This function strips all whitespace characters from both ends of a string and returns the stripped string. The following characters are whitespace characters: space, form-feed ("\f"), newline ("\n"), carriage return ("\r"), horizontal tab ("\t"), and vertical tab ("\v").

Inputs
s$
input string
Results
r$
stripped string
Example
s$ = StripStr("    Hello World    ")
This will return "Hello World".

Show TOC