Adjustr is a character intrinsic function.
The adjustr function takes a character argument, removes any trailing blanks and then adds them to the beginning of the character string.
adjustr(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_trailing_spaces '
and you make it an argument to the adjustr function like so:
word = adjustr(word)
The variable string will then contain the following character string:
' Five_trailing_spaces'
lecture twenty five
examples: charvr90.f
Written by Jason Wehr : jcw142@psu.edu and Maintained by John Mahaffy : jhm@cac.psu.edu