Sun Studio 12: Fortran Library Reference

2.1.4 Character Functions

Generic Intrinsic Name  

Description  

ACHAR (I)

Character in given position in ASCII collating sequence 

ADJUSTL (STRING)

Adjust left 

ADJUSTR (STRING)

Adjust right 

CHAR (I [, KIND])

Character in given position in processor collating sequence 

IACHAR (C)

Position of a character in ASCII collating sequence 

ICHAR (C)

Position of a character in processor collating sequence 

INDEX (STRING, SUBSTRING [, BACK])

Starting position of a substring 

LEN_TRIM (STRING)

Length without trailing blank characters 

LGE (STRING_A, STRING_B)

Lexically greater than or equal 

LGT (STRING_A, STRING_B)

Lexically greater than 

LLE (STRING_A, STRING_B)

Lexically less than or equal 

LLT (STRING_A, STRING_B)

Lexically less than 

REPEAT (STRING, NCOPIES)

Repeated concatenation 

SCAN (STRING, SET [, BACK])

Scan a string for a character in a set 

TRIM (STRING)

Remove trailing blank characters 

VERIFY (STRING, SET [, BACK])

Verify the set of characters in a string