Astring
Alternative Char and String modules.
Char
String
Open the module to use it. This defines one value in your scope, redefines the (^) operator, the Char module and the String module.
(^)
Consult the differences with the OCaml String module, the porting guide and a few examples.
String.trim
val strf : ('a, Stdlib.Format.formatter, unit, string) Stdlib.format4 -> 'a
strf is Format.asprintf.
strf
Format
val (^) : string -> string -> string
s ^ s' is String.append.
s ^ s'
String.append
module Char : sig ... end
Characters (bytes in fact).
module String : sig ... end
Strings, substrings, string sets and maps.