$DEPADR

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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