Inhaltsverzeichnis

Trim

The Trim () function gets a string and the position at which spaces are to be removed is passed as a parameter and returns this string without any relevant spaces.

Syntax:

Trim('String', 'Positions')

Possible positions are

that are to be removed.

Samples:

Trim(' 12345 ', 'r')

returns ' 12345'

Trim(' 12345 ', 'l')

returns '12345 '

Trim(' 12345 ', 'b')

returns '12345'