Can this be done by using INSPECT or some other cobol functions?
Basically, in the below example i need to replace the phrase COBOL and its subsequencent three characters with spaces. The three characters are dynamic and it can hold any numeric/alphanumeric/special characters.
Input String : This forum is very useful to solve COBOL III, COBOL ABC, COBOL XYZ, COBOL XXX technical problems .
Output String : This forum is very useful to solve technical problems .