How to String Ends With in OCaml - Code Snippet

How to perform 'String Ends With' in OCaml.

example.ml
(* Task: String Ends With
(* Language: OCaml

let string_ends_with() =
    (* Implementation for String Ends With
    let result = ...; (* Initialize variable
    (* TODO: Implement core logic here
    (* Step 1: Prepare data
    (* Step 2: Process String Ends With
    print_endline("Done");
;;
AdSense Slot