expandTo method Null safety
- Characters target
Expands the range to include the next occurence of
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.
true if there is an occurrence of
false if not.
Notice that if
target is empty,
the result is
true even though the range is not modified.
bool expandTo(Characters target);