aboutsummaryrefslogtreecommitdiff
path: root/clib/cString.mli
diff options
context:
space:
mode:
Diffstat (limited to 'clib/cString.mli')
-rw-r--r--clib/cString.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/clib/cString.mli b/clib/cString.mli
index 8a4fe62a1c..d02be2d15f 100644
--- a/clib/cString.mli
+++ b/clib/cString.mli
@@ -51,6 +51,9 @@ sig
val is_sub : string -> string -> int -> bool
(** [is_sub p s off] tests whether [s] contains [p] at offset [off]. *)
+ val is_prefix : string -> string -> bool
+ (** [is_prefix p s] tests whether [p] is a prefix of [s]. *)
+
(** {6 Generic operations} **)
module Set : Set.S with type elt = t