Compat.String
val fold_left : ('acc -> char -> 'acc) -> 'acc -> string -> 'acc
fold_left f x s computes f (... (f (f x s.[0]) s.[1]) ...) s.[n-1], where n is the length of the string s.
fold_left f x s
f (... (f (f x s.[0]) s.[1]) ...) s.[n-1]
n
s
val starts_with : prefix:string -> string -> bool
starts_with ~prefix s is true if and only if s starts with prefix.
starts_with ~prefix s
true
prefix