Description: | Adjusts a character string to the right, removing trailing blanks and inserting leading blanks. | ||
Class: | Elemental function; Generic | ||
Arguments: | STRING must be of type character. | ||
Results: | The result type is character with the same
length and kind parameter as STRING.
The value of the result is the same as STRING, except that any trailing blanks have been removed and inserted as leading blanks. |
Examples
In these examples, the symbol - represents a blank.
ADJUSTR ('SUMMERTIME----') has the value '----SUMMERTIME'.