The INSPECT statement in COBOL allows you to search for and _____ occurrences of specific characters or phrases in a field.

  • Replace
  • Delete
  • Count
  • Add
The INSPECT statement in COBOL is used for string manipulation. The COUNT option allows you to count the occurrences of specific characters or phrases in a given field, providing flexibility in handling character data.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *