Trim

Removes whitespaces on start and end of a string, optional the chars given by a constant string or data object.

Whitespaces means: 0,9,32,13,10

Syntax: string = Trim( Expression, [trimChars] )

Example
  dim s as string
 
  s = "   hello  "
  s = Trim(s)  ' result: "hello"