package ocsigenserver
A full-featured and extensible Web server
Install
Dune Dependency
Authors
Maintainers
Sources
6.0.0.tar.gz
md5=001e22ec2da3ab08840f934a8f005859
sha512=59f36fdf0a640117aa562d1d9ef96b7146843d9b72d71d01366640521405550074e03267fb388c5e685542781fc4bce763818a36cf05c0e033fae5e51c2f1496
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)"
>