Previous Topic

Next Topic

Trim - MaxBasic Function

Trim(String: String): String

Returns String with leading and trailing spaces removed.

Trim function syntax has these named arguments:

Parameter

Description

String

Required. String to be trimmed on the left and right.

Sample code:

  Print Trim(" persimmon ")

Returns: "persimmon"

For use in SQL, see also SQL TRIM Function.

See Also

String Functions

Book Contents

Book Index