package ocsigenserver
A full-featured and extensible Web server
Install
Dune Dependency
Authors
Maintainers
Sources
4.0.2.tar.gz
md5=5ea779e418bf936d7301057d6d95011c
sha512=e27b9ad71ac2bd0e817ff35b66de606ffabd5b71b88b34974cbf41181e5a824767616fdd2b7908539bdd394c0873aaacdc7768f6dc7ad3f9dc33e8eb1a6f9fa6
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
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)"
>