July 12, 2023

TrimStart - XpressDox

Trim characters from the start of a string in your XpressDox template

 

Command structure:

«TrimStart(Address,’,;’)»

The above example will remove a comma or a semi-colon from the start of the value of Address.

 

Using the Trim function inside another function:

Say you also wanted to convert the trimmed Address to Upper case. First trim (the inside function), then convert to Upper case (the outside function).


«ToUpper(TrimStart(Address,’,;’))»