ADJUSTL(3f)

DESCRIPTION
ADJUSTL(STRING) will left adjust a string by removing leading spaces. Spaces are inserted at the end of the string as needed.

STANDARD
Fortran 90 and later

CLASS
Elemental function

SYNTAX
RESULT = ADJUSTL(STRING)

ARGUMENTS

STRING The type shall be CHARACTER.

RETURN VALUE
The return value is of type CHARACTER and of the same kind as STRING where leading spaces are removed and the same number of spaces are inserted on the end of STRING.

EXAMPLE
          program test_adjustl
            character(len=20) :: str = ' gfortran'
            str = adjustl(str)
            print *, str
          end program test_adjustl

SEE ALSO
ADJUSTR, TRIM

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).