Lahey/Fujitsu Fortran

Character Functions

Character Functions

Name

Description

Class

ACHAR

Character in a specified position of the ASCII collating sequence.

Elemental

ADJUSTL

Adjust to the left, removing leading blanks and inserting trailing blanks.

Elemental

ADJUSTR

Adjust to the right, removing trailing blanks and inserting leading blanks.

Elemental

CHAR

Given character in the collating sequence of the a given character set.

Elemental

IACHAR

Position of a character in the ASCII collating sequence.

Elemental

ICHAR

Position of a character in the processor collating sequence associated with the kind of the character.

Elemental

INDEX

Starting position of a substring within a string.

Elemental

LEN

Length of a CHARACTER data object.

Inquiry

LEN_TRIM

Length of a CHARACTER entity without trailing blanks.

Elemental

LGE

Test whether a string is lexically greater than or equal to another string based on the ASCII collating sequence.

Elemental

LGT

Test whether a string is lexically greater than another string based on the ASCII collating sequence.

Elemental

LLE

Test whether a string is lexically less than or equal to another string based on the ASCII collating sequence.

Elemental

LLT

Test whether a string is lexically less than another string based on the ASCII collating sequence.

Elemental

REPEAT

Concatenate copies of a string.

Transformational

SCAN

Scan a string for any one of a set of characters.

Elemental

TRIM

Omit trailing blanks.

Transformational

VERIFY

Verify that a set of characters contains all the characters in a string.

Elemental