package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Specification of Javascript string objects.

method toString : js_string t meth
method valueOf : js_string t meth
method charAt : int -> js_string t meth
method charCodeAt : int -> float meth
method concat : js_string t -> js_string t meth
method concat_2 : js_string t -> js_string t -> js_string t meth
method concat_3 : js_string t -> js_string t -> js_string t -> js_string t meth
method concat_4 : js_string t -> js_string t -> js_string t -> js_string t -> js_string t meth
method indexOf : js_string t -> int meth
method indexOf_from : js_string t -> int -> int meth
method lastIndexOf : js_string t -> int meth
method lastIndexOf_from : js_string t -> int -> int meth
method localeCompare : js_string t -> float meth
method _match : regExp t -> match_result_handle t opt meth
method replace : regExp t -> js_string t -> js_string t meth
method replace_string : js_string t -> js_string t -> js_string t meth
method slice : int -> int -> js_string t meth
method slice_end : int -> js_string t meth
method split : js_string t -> string_array t meth
method split_limited : js_string t -> int -> string_array t meth
method split_regExp : regExp t -> string_array t meth
method split_regExpLimited : regExp t -> int -> string_array t meth
method substring : int -> int -> js_string t meth
method substring_toEnd : int -> js_string t meth
method toLowerCase : js_string t meth
method toLocaleLowerCase : js_string t meth
method toUpperCase : js_string t meth
method toLocaleUpperCase : js_string t meth
method trim : js_string t meth
method length : int readonly_prop
OCaml

Innovation. Community. Security.