XL Fortran for AIX 8.1

Language Reference


TRIM(STRING)

Returns the argument with trailing blank characters removed.

STRING
must be of type character and must be a scalar.

Class

Transformational function

Result Type and Attributes

Character with the same kind type parameter value as STRING and with a length that is the length of STRING less the number of trailing blanks in STRING.

Result Value

Examples

TRIM (' A B  ') has the value ' A B'.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]