mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-10 05:03:54 -05:00
doc
This commit is contained in:
parent
610e0ed53a
commit
df39602b9e
1 changed files with 3 additions and 3 deletions
|
|
@ -133,9 +133,9 @@ val replace : ?which:[`Left|`Right|`All] -> sub:string -> by:string -> string ->
|
||||||
(** [replace ~sub ~by s] replaces some occurrences of [sub] by [by] in [s]
|
(** [replace ~sub ~by s] replaces some occurrences of [sub] by [by] in [s]
|
||||||
@param which decides whether the occurrences to replace are:
|
@param which decides whether the occurrences to replace are:
|
||||||
{ul
|
{ul
|
||||||
{il [`Left] first occurrence from the left (beginning)}
|
{- [`Left] first occurrence from the left (beginning)}
|
||||||
{il [`Right] first occurrence from the right (end)}
|
{- [`Right] first occurrence from the right (end)}
|
||||||
{il [`All] all occurrences (default)}
|
{- [`All] all occurrences (default)}
|
||||||
}
|
}
|
||||||
@since NEXT_RELEASE *)
|
@since NEXT_RELEASE *)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue