9.3.5 ADJUSTL (STRING)

Description:  Adjusts a character string to the left, removing leading blanks and inserting trailing 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 leading blanks have been removed and inserted as trailing blanks. 

Examples

In this example, the symbol - represents a blank.

ADJUSTL ('----SUMMERTIME') has the value 'SUMMERTIME----'.


Previous Page Next Page Table of Contents