Function Type:

Adjustr is a character intrinsic function.

Function Purpose:

The adjustr function takes a character argument, removes any trailing blanks and then adds them to the beginning of the character string.

Required Arguments:


String must be a character argument.

The function must output to a character variable.

Optional Arguments:

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'

For more information and examples see:

lecture twenty five

examples: charvr90.f

Up one level / Home

Written by Jason Wehr : and Maintained by John Mahaffy :