July 12, 2023

TrimEnd - XpressDox

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

 

Command structure:

«TrimEnd(Address,’,;’)»

The above example will remove a comma or a semi-colon from the end 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(TrimEnd(Address,’,;’))»