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

Page built @2011/02/08 21:37:05