subseq-start-from ( subseq seq n -- i/f )
Factor handbook » The language » Collections » Sequence operations » Searching sequences

Prev:subseq-start ( subseq seq -- i/f )
Next:subseq-index ( seq subseq -- i/f )


Vocabulary
sequences

Inputs
subseqan object
seqa sequence
nan integer


Outputs
i/fan integer or f


Word description
Outputs the start index of the first contiguous subsequence equal to subseq, starting the search from the nth element. If no matching subsequence is found, outputs f.

Definition