$DEPADR
The $DEPADR function removes the designated characters from the right of a specified string.
Syntax
$DEPADR(%string,%remove)
The %remove characters are removed from the right of %string.
Example:
if %STRING = '+A+B+C+' then PRINT $DEPADR(%STRING,'+')
results in +A+B+C