$PadR

From m204wiki
Revision as of 17:45, 30 September 2016 by Alan (talk | contribs)
Jump to navigation Jump to search

The $PADR function allows padding to the right with a designated character. $PADR works exactly like $PAD with the exception that $PAD pads to the left, while $PADR pads to the right. For example:

$PADR('123.65','*',9) equals '123.65***'

Many $functions have been superceded by OO methods. The Left (String function) provides a right-padding feature similar to $padr.