$Strip

From m204wiki
(Redirected from $STRIP)
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 $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'