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
must be of type character.
SET
must be of type character with the same kind type parameter as STRING.
BACK (optional)
must be of type logical.
Fortran 2003 begins KIND (optional) Fortran 2003 ends
must be a scalar integer constant expression.

Result type and attributes

Result value

Examples