Function
hasPrefix
Test whether a sequence is prefix of another sequence.
Include Headers
seqan/sequence.h
Parameters
The first sequence. | |
The second sequence, the putative prefix. | |
A comparator. Types: Lexical |
Remarks
By definition, the whole sequence is a prefix of itself too: hasPrefix("abc", "abc") == true .
Return Values
Member of
See Also
SeqAn - Sequence Analysis Library - www.seqan.de