Trim Procedure

Returns a copy of a string without leading and trailing spaces.

Syntax

[ s = ] Trim ( sStr )

The Trim procedure syntax has the following parts:

Name

Type

Description

s

BString

The result string

sStr

Val BString

Input string

Example

Print Trim(" ATEasy ") ! This will print "ATEasy"

See Also

Left, Len, LTrim, Right, RTrim