Mercurial > urweb
view lib/ur/string.urs @ 1053:4eb1c4a1b057
Escaping UTF-8 in MonoOpt
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 03 Dec 2009 11:20:13 -0500 |
parents | e46227efcbba |
children | eaba663fd6aa |
line wrap: on
line source
type t = string val str : char -> t val length : t -> int val append : t -> t -> t val sub : t -> int -> char val suffix : t -> int -> string val index : t -> char -> option int val atFirst : t -> char -> option string val mindex : {Haystack : t, Needle : t} -> option int val substring : t -> {Start : int, Len : int} -> string val split : t -> char -> option (string * string) val msplit : {Haystack : t, Needle : t} -> option (string * char * string)