Handbook
Glossary
take-slice ( n string count -- n'/f string slice )
Vocabulary
modern
.
slices
Inputs
n
an
object
string
an
object
count
an
object
Outputs
n'/f
an
object
string
an
object
slice
an
object
Definition
USING:
kernel
math
sequences
;
IN:
modern.slices
::
take-slice
( n string count -- n'/f string slice )
n
[
n string count
take-slice-error
]
unless
n count
+
:>
to to string n to string
<slice>
;