RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

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 );

Name Type Options Opt/Req Description
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.

This site conforms with the following W3C specifications:

Web Essentials

Contact