drop-prefix ( seq1 seq2 -- slice1 slice2 )
Factor handbook » The language » Collections » Sequence operations » Comparing sequences

Prev:mismatch ( seq1 seq2 -- i )
Next:assert-sequence= ( a b -- )


Vocabulary
sequences

Inputs
seq1a sequence
seq2a sequence


Outputs
slice1a slice
slice2a slice


Word description
Outputs a pair of virtual sequences with the common prefix of seq1 and seq2 removed.

Definition