moveTo abstract method

bool moveTo(
  1. Characters target
)

Moves the range to the next occurrence of target after the current range.

If there is an occurrence of target in the characters following the current range, then the new range contains exactly the first such occurrence of target.

If there is no occurrence of target after the current range, the range is not modified.

Returns true if the range is modified and false if not.

Implementation

bool moveTo(Characters target);