Strips the white space in a string.
StringStripWS ( "string", flag )
| string | The string to strip. |
| flag | Flag to indicate the type of stripping that should be performed (add the flags together for multiple operations): 1 = strip leading white space 2 = strip trailing white space 4 = strip double (or more) spaces between words 8 = strip all spaces (over-rides all other flags) |
Local $text = StringStripWS(" this is a line of text ", 3)
MsgBox(0, "Stripped from both ends", $text)