Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-C935E80D-3D7A-4128-9227-4C72BE4F2458
Visible to Intel only — GUID: GUID-C935E80D-3D7A-4128-9227-4C72BE4F2458
ADJUSTR
Elemental Intrinsic Function (Generic): Adjusts a character string to the right, removing trailing blanks and inserting leading blanks.
result = ADJUSTR (string)
string |
(Input) Must be of type character. |
Results
The result type is character with the same length and kind parameter as string.
The value of the result is the same as string, except that any trailing blanks have been removed and inserted as leading blanks.
Example
CHARACTER(16) STRING STRING= ADJUSTR(' Fortran 90 ') ! returns ' Fortran 90' ADJUSTR ('SUMMERTIME ') ! has the value ' SUMMERTIME'