User Tools

Site Tools


syntax:functions:trimstart

TrimStart(text)

Category: Text function


Description

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


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

trimstart(' Columbia') //Returns 'Columbia'
trimstart(' Columbia  ') //Returns 'Columbia  '  (Trailing spaces retained)


See also

syntax/functions/trimstart.txt · Last modified: 2021/08/11 15:20 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki