expandTo abstract method
Expands the range to include the next occurence of target
.
If there is an occurrence of target
in the characters following
the current range, the end of the the range is moved to just after
the first such occurrence.
If there is no such occurrence of target
, the range is not modified.
Returns true
if there is an occurrence of target
and false
if not.
Notice that if target
is empty,
the result is true
even though the range is not modified.
Implementation
bool expandTo(Characters target);