INSPECT Statement

The INSPECT statement specifies that characters in a data item are to be counted (tallied), or replaced (or both).
The INSPECT statement has four formats:
Related Information: