Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Explain the INSPECT verb in COBOL.
Answer: The INSPECT verb in COBOL is used for string manipulation. It allows the programmer to search, replace, or delete characters in a string.

Example:

INSPECT NAME-STRING REPLACING ALL '- ' BY SPACE.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook