How to String Starts With in COBOL - Code Snippet

How to perform 'String Starts With' in COBOL.

example.cbl
* Task: String Starts With
* Language: COBOL

PROCEDURE DIVISION. string_starts_with() 
    * Implementation for String Starts With
    * TODO: Implement core logic here
    * Step 1: Prepare data
    * Step 2: Process String Starts With
    DISPLAY("Done");
STOP RUN.
AdSense Slot