7.4

Table Of Contents
Trim (function)
Removes both leading and trailing spaces from a string.
Syntax
trim( string ) string value
Argument
string
String value from which you want to trim leading and trailing spaces.
Code Sample Example
This example trims leading and trailing spaces from the data selection on line 3, columns 8 to 24.
Example
trim(@(3,8,24))
TrimLeft (function)
Removes leading spaces from a string.
Syntax
trimleft( string ) string value
Argument
string
String value to trim.
Code Sample Example
This example makes sure * delimiters are added immediately before and after a data selection.
Example
show('*'+trimleft(trimright(@(12,10,35)))+'*')
TrimRight (function)
Removes trailing spaces from a string.
Syntax
trimright( string ) string value
©2010 Objectif Lune Inc - 372 -