SCAN(STRING, SET, BACK, KIND)

Purpose

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

Class

Elemental function

Argument type and attributes

STRING
An INTENT(IN) character.
SET
An INTENT(IN) character with the same kind type parameter as STRING.
BACK (optional)
An INTENT(IN) logical.
Fortran 2003 begins KIND (optional) Fortran 2003 ends
An INTENT(IN) integer. The actual argument corresponding to KIND must be a constant expression.

Result type and attributes

Result value

Examples