xRPG Core Library Procedures - RNBSTRING: rightAdjust()
Return the String right adjusted to the specfied length.
This is not meant to replace evalr (although it could)
but to allow the
ability to embed right adjusted text in statements or
right adjust to a specified length within a larger field.
Use caution with this procedure: it will right adjust outside the size of the desired field and truncate itself!
Usage:
rightAdjust( string : adjustLength );
| string |
256A |
Const Varying |
Req |
The string. |
| adjustLength |
5i 0 |
Const |
Req |
The length to adjust the string to. |
| Returns: |
256A |
Varying |
n/a |
The adjusted string. |