mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-08 04:05:30 -05:00
fix doc of CCstring.Split.list_
This commit is contained in:
parent
c051966690
commit
24e15b4cee
1 changed files with 2 additions and 2 deletions
|
|
@ -146,9 +146,9 @@ module Split : sig
|
||||||
(** split the given string along the given separator [by]. Should only
|
(** split the given string along the given separator [by]. Should only
|
||||||
be used with very small separators, otherwise
|
be used with very small separators, otherwise
|
||||||
use {!Containers_string.KMP}.
|
use {!Containers_string.KMP}.
|
||||||
@return a list of (index,length) of substrings of [s] that are
|
@return a list of slices [(s,index,length)] that are
|
||||||
separated by [by]. {!String.sub} can then be used to actually extract
|
separated by [by]. {!String.sub} can then be used to actually extract
|
||||||
the slice.
|
a string from the slice.
|
||||||
@raise Failure if [by = ""] *)
|
@raise Failure if [by = ""] *)
|
||||||
|
|
||||||
val gen : by:string -> string -> (string*int*int) gen
|
val gen : by:string -> string -> (string*int*int) gen
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue