Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

Trim( )

Action: Strips leading and trailing spaces from an input string and returns the result.
 
Syntax: TRIM ("string")
 
Parameters: String

The string from which to strip the spaces from.

Returns: The input string without leading or trailing spaces.
 
See Also: LTrim( ), RTrim( )
 
Example:

$x = TRIM(SUBSTR(@IPADDRESS0, 1, 3))