module Extended_string:Extensions tosig
..end
Core.Core_String
.Core.Core_String
.val collate : string -> string -> int
collate s1 s2
sorts string in an order that's is usaully more suited
for human consumption by treating ints specificaly:
(e.g. it will output: ["rfc1.txt";"rfc822.txt";"rfc2086.txt"]
).
It works by splitting the strings in numerical and non numerical chunks and comparing chunks two by two from left to right (and starting on a non numerical chunks):
val unescaped : ?strict:bool -> string -> string
val unescaped_res : ?strict:bool -> string -> (string, int * string) Core.Result.t
val squeeze : string -> string
val is_substring : substring:string -> string -> bool