Description
Removes leading and trailing spaces from a string.
Syntax
Trim ( string )
Return value
String. Returns a copy of string with all leading and trailing spaces deleted if it succeeds and the empty string ("") if an error occurs.
Usage
Trim is useful for removing spaces that a user might have typed before or after newly entered data.
Examples
This expression returns BABE RUTH:
Trim(" BABE RUTH ")
See also