ADJUSTR(STRING)

Purpose

Adjust to the right, removing trailing blanks and inserting leading blanks.

Class

Elemental function

Argument type and attributes

STRING
An INTENT(IN) CHARACTER

Result type and attributes

Character of the same length and kind type parameter as STRING.

Result value

The value of the result is the same as STRING except that any trailing blanks have been deleted and the same number of leading blanks have been inserted.

Examples

ADJUSTR ('WORD␢') has the value '␢WORD'.