subseq-starts-at? ( i seq subseq -- ? )
Factor handbook » The language » Collections » Sequence operations » Searching sequences

Prev:subseq-index-from ( n seq subseq -- i/f )
Next:find ( ... seq quot: ( ... elt -- ... ? ) -- ... i elt )


Vocabulary
sequences

Inputs
ia start index
seqa sequence
subseqa sequence


Outputs
?a boolean


Word description
Outputs t if the subseq starts at the ith element or outputs f if the sequence is not at that position.

Definition