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.