Module CCString.Sub

module Sub: sig .. end

type t = string * int * int 
A string, an offset, and the length of the slice
val make : string -> int -> len:int -> t
val full : string -> t
Full string
val copy : t -> string
Make a copy of the substring
val underlying : t -> string
val sub : t -> int -> int -> t
Sub-slice
include CCString.S