dropBackTo method Null safety
- Characters target
Drops the last occurrence of
target in the range.
If the range contains any occurrences of
then all characters after the start of the first such occurrence
is removed from the range.
This retracts the end of the range to the start of the
last occurrence of
If there are no occurrences of
target in the range,
the range is not changed.
true if there is an occurrence of
false if not.
bool dropBackTo(Characters target);