Function
isPrefix
Test whether a sequence is prefix of another sequence.
isPrefix(left, right)
isPrefix(comparator)
Parameters
left
The first sequence, the putative prefix.
right
The second sequence.
comparator
A comparator.
Types: Lexical
Return Values
true if left is a prefix of right, false otherwise.
Remarks
By definition, the whole sequence is a prefix of itself too: isPrefix("abc", "abc") == true.
SeqAn - Sequence Analysis Library - www.seqan.de