ADJUSTL

Elemental Intrinsic Function (Generic): Adjusts a character string to the left, removing leading blanks and inserting trailing blanks.

Syntax

result = ADJUSTL (string)

string
(Input) Must be of type character.

Results:

The result is of type 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.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: ADJUSTR

Examples

  CHARACTER(16) STRING
  STRING= ADJUSTL('   Fortran 90   ') ! returns 'Fortran 90   '
  ADJUSTL ('    SUMMERTIME')     ! has the value 'SUMMERTIME    '