
Next:
CHR_TOCHR
-
Skip to the next specified character in a string
Up: Routine Descriptions
Previous:
CHR_SWAP
-
Swap two single-character variables
CHR_TERM
-
Terminate a string by padding out with blanks
- Description:
-
The given string, STRING, is terminated to a length of LENGTH
characters by filling the remainder of its declared length
with blanks.
- Invocation:
-
CALL CHR_TERM( LENGTH, STRING )
- Arguments:
-
-
LENGTH = INTEGER (Given)
-
The required length for the string: it must be positive
and not greater than the declared length of the string.
-
STRING = CHARACTER
(
) (Given and Returned)
-
The string to be terminated.

Next:
CHR_TOCHR
-
Skip to the next specified character in a string
Up: Routine Descriptions
Previous:
CHR_SWAP
-
Swap two single-character variables
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