take-from? ( n seq subseq -- n'/f seq ? )


Vocabulary
modern.slices

Inputs
nan object
seqan object
subseqan object


Outputs
n'/fan object
seqan object
?an object


Definition


:: take-from? ( n seq subseq -- n'/f seq ? )
n seq subseq subseq-starts-at?
[ n subseq length + seq t ] [ n seq f ] if ;