User Tools

Site Tools


syntax:functions:trim

This is an old revision of the document!


Trim(text)

Category: Text function


Description

This function trims off all leading and trailing spaces, and other non-printing characters (see Remarks) from text.


Arguments

ArgumentTypeDescription
textTextAny text value or other value that can be implicitly converted to text if required.

Return value type: Text


Remarks

Besides spaces, it also removes other non-printing, white-space characters such as tabulations, form feeds, etc. The full list of removed white-space characters.


Examples

trim(' Columbia') = 'Columbia'
trim(' Columbia  ') = 'Columbia'
trim('  Columbia  ') = 'Columbia'


See also

syntax/functions/trim.1628485738.txt.gz · Last modified: 2021/08/09 01:08 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki