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 0f78e66573..be8a202b64 100644
--- a/clib/cString.mli
+++ b/clib/cString.mli
@@ -54,6 +54,9 @@ sig
val is_prefix : string -> string -> bool
(** [is_prefix p s] tests whether [p] is a prefix of [s]. *)
+ val is_suffix : string -> string -> bool
+ (** [is_suffix suf s] tests whether [suf] is a suffix of [s]. *)
+
(** {6 Generic operations} **)
module Set : Set.S with type elt = t