English
Appearance
(-> text-t int-t int-t text-t)
Extract a substring from start (inclusive) to end (exclusive). Indices are in Unicode scalar values.
start
end
(text-slice "hello" 0 3) ;; => "hel" (text-slice "hello" 1 4) ;; => "ell" (text-slice "hello" 0 0) ;; => ""