package ocsigenserver
A full-featured and extensible Web server
Install
Dune Dependency
Authors
Maintainers
Sources
5.1.0.tar.gz
md5=72c9e8479d7e4473e0d26ef10e620870
sha512=ed466e88a61c17d8b4e4cc392efc7b703ef1f4396bf41015fc85063bfe1644ace9b5361d804fb17da4957830c3584ad610f717eb1a90ccec002d3d87f79f41c4
doc/ocsigen_lib_base/Ocsigen_lib_base/String_base/index.html
Module Ocsigen_lib_base.String_base
Source
Improvement of module String
include module type of Stdlib.String
val to_seq : t -> char Stdlib.Seq.t
val to_seqi : t -> (int * char) Stdlib.Seq.t
val of_seq : char Stdlib.Seq.t -> t
val get_utf_8_uchar : t -> int -> Stdlib.Uchar.utf_decode
val is_valid_utf_8 : t -> bool
val get_utf_16be_uchar : t -> int -> Stdlib.Uchar.utf_decode
val is_valid_utf_16be : t -> bool
val get_utf_16le_uchar : t -> int -> Stdlib.Uchar.utf_decode
val is_valid_utf_16le : t -> bool
val hash : t -> int
val seeded_hash : int -> t -> int
remove_spaces s beg endd
returns a copy of the string from beg to endd, removing spaces at the beginning and at the end
Cuts a string to the next separator
Cuts a string to the next separator, removing spaces. Raises Not_found
if the separator cannot be found.
Splits a string for words with separator, removing spaces. For ex "azert, sdfmlskdf, dfdsfs".
first_diff s1 s2 n last
returns the index of the first difference between s1 and s2, starting from n and ending at last. returns (last + 1) if no difference is found.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>