dropTo abstract method
- Characters target
Drops the first occurrence of target
in the range.
If the range contains any occurrences of target
,
then all characters before the end of the first such occurrence
is removed from the range.
This advances the start of the range to the end of the
first occurrence of target
.
If there are no occurrences of target
in the range,
the range is not changed.
Returns true
if there is an occurrence of target
and false
if not.
Implementation
bool dropTo(Characters target);