Adjustl takes a character argument removes any leading blanks and places them at the end of the character string.
adjustl(string)
String must be a character argument.
The function must output to a character variable.
There are no optional arguments.
Let us say that the character variable word contains the following character string:
' Five_leading_spaces'
and you make it an argument to the adjustl function like so:
word = adjustl(word)
The variable string will then contain the following character string:
'Five_leading_spaces '
lecture twenty five
examples: tadj.f
Written by Jason Wehr : jcw142@psu.edu and Maintained by John Mahaffy : jhm@cac.psu.edu