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-842D1CF9-92EC-4CC4-9341-B92B9D2CEB5E
Visible to Intel only — GUID: GUID-842D1CF9-92EC-4CC4-9341-B92B9D2CEB5E
ADJUSTL
Elemental Intrinsic Function (Generic): Adjusts a character string to the left, removing leading blanks and inserting trailing blanks.
result = ADJUSTL (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 leading blanks have been removed and inserted as trailing blanks.
Example
CHARACTER(16) STRING STRING= ADJUSTL(' Fortran 90 ') ! returns 'Fortran 90 ' ADJUSTL (' SUMMERTIME') ! has the value 'SUMMERTIME '