StrTrim

Function return the text with trimmed out leading and trailing whitespaces.

StrTrim(string [, flag])
stringSource string.
flagOperation type:

1 - trimming leftmost whitespaces
2 - trimming rightmost whitespaces
3 - (default) trimming both.

Remarks

Whitespaces are trimmed: Space, Tab, Carriage return, Linefeed.