$Strip

From m204wiki
Jump to navigation Jump to search

The $STRIP function returns the contents of an argument with leading zeros suppressed. $STRIP, like $PAD, is useful for report formatting.

Example

$STRIP('055449825') equals '55449825' $STRIP('00000') equals

If a character other than zero is in the first position of the argument, zeros within the string are not removed. For example:

$STRIP(' 055449825') equals ' 055449825'