package ocsigenserver
A full-featured and extensible Web server
Install
Dune Dependency
Authors
Maintainers
Sources
5.0.0.tar.gz
md5=ac7f9fcf1aced530061ceb4c76efe475
sha512=5691d1cc53725466bf0548fdaa8b4b624b9ac20aa41152f61020da05696a2d0e3cd010d9d72aa60d55216ca4b1b3938573e00c7d922e034d1080508ec46b47dd
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)"
>