$PadR: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Mlarocca moved page $PADR to $PadR: Lower case change)
No edit summary
Line 2: Line 2:
<p class="code">$PADR('123.65','*',9) equals '123.65***'
<p class="code">$PADR('123.65','*',9) equals '123.65***'
</p>
</p>
<p>Many $functions have been superceded by OO methods. The [[Left (String function)]] provides a right-padding feature similar to $padr.
</p>
[[Category:SOUL $functions]]
[[Category:SOUL $functions]]

Revision as of 17:45, 30 September 2016

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.