Sets the index to point to the given position, and clears any state that's affected.
This method takes the argument index and sets the position in the text string accordingly without checking if the index is pointing to a valid starting point to begin searching.
|position ||within the text to be set. If position is less than or greater than the text range for searching, an U_INDEX_OUTOFBOUNDS_ERROR will be returned |
|status ||for errors if it occurs ICU 2.0 |
Implemented in StringSearch.
Referenced by first(), following(), last(), preceding(), previous(), reset(), and setMatchNotFound().