summaryrefslogtreecommitdiff
path: root/stdlib/string.mli
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2001-08-13 13:54:24 +0000
committerDamien Doligez <damien.doligez-inria.fr>2001-08-13 13:54:24 +0000
commit03b127286ee9dfd9a554b0d4fcbb86e380ddf785 (patch)
tree4478cba72705ecef9378b4a8d99a499d3ad9010e /stdlib/string.mli
parentee49a6e93708072b829754036429e243175aacd8 (diff)
downloadocaml-03b127286ee9dfd9a554b0d4fcbb86e380ddf785.tar.gz
changement doc de escaped
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/string.mli')
-rw-r--r--stdlib/string.mli8
1 files changed, 5 insertions, 3 deletions
diff --git a/stdlib/string.mli b/stdlib/string.mli
index bf1aaa3e92..22025fc157 100644
--- a/stdlib/string.mli
+++ b/stdlib/string.mli
@@ -72,9 +72,11 @@ val concat : sep:string -> string list -> string
inserting the separator string [sep] between each. *)
val escaped: string -> string
- (* Return a copy of the argument, with special characters represented
- by escape sequences, following the lexical conventions of
- Objective Caml. *)
+ (* Return a copy of the argument, with special characters
+ represented by escape sequences, following the lexical
+ conventions of Objective Caml. If there is no special
+ character in the argument, return the original string itself,
+ not a copy. *)
val index: string -> char -> int
(* [String.index s c] returns the position of the leftmost