next up previous
Next: CHR_RMBLK - Remove all blanks from a string
Up: Routine Descriptions
Previous: CHR_PUTR - Put a REAL value into a string at a given position

CHR_RJUST  -  Right-justify a string

Description:
The given string is right-justified by filling out the spaces between words with additional blank space. The right margin is taken as the declared length of the given string. Unprintable characters are interpreted as blanks.

Invocation:
CALL CHR_RJUST( STRING )

Arguments:
STRING = CHARACTER ( ) (Given and Returned)
The string to be right-justified and returned.



next up previous
Next: CHR_RMBLK - Remove all blanks from a string
Up: Routine Descriptions
Previous: CHR_PUTR - Put a REAL value into a string at a given position



CHR Character Handling Routines
Starlink User Note 40
A C Charles
P C T Rees
A J Chipperfield
2 August 1995
E-mail:ussc@star.rl.ac.uk