Development tools : Global functions : String category : trim
  
trim
Description
Remove leading and trailing blanks in a string.
Usage
Client side: Y
Server side: Y
Syntax
String trim(String string)
Argument
string
The string to be manipulated. The argument can be any string.
Return
Returns a string with leading and trailing white space removed.
Example
trim(" Hello")
returns "Hello".
trim("Hello")
returns "Hello".
See
See also
Go up to
String category