Adjustl

Function Type:

Adjustl is a character intrinsic function.

Function Purpose:

Adjustl takes a character argument removes any leading blanks and places them at the end of the character string.

Required Arguments:

adjustl(string)

String must be a character argument.

The function must output to a character variable.

Optional Arguments:

There are no optional arguments.

Results:

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     '

For more information and examples see:

lecture twenty five
examples: tadj.f

Up one level / Home


Written by Jason Wehr : jcw142@psu.edu and Maintained by John Mahaffy : jhm@cac.psu.edu