fn() startsWith
Check whether a string is a prefix of another string.

Defined in <seqan/sequence.h>
Signature bool startsWith(str, prefix);

Parameters

str The string to check (A SegmentableConcept).
prefix The prefix to check for (A ContainerConcept).

Return Values

bool true if prefix is a prefix of str.