setIndex

open override fun setIndex(p: Int): Char

Implements CharacterIterator.setIndex() for String.

See also

Throws

if p is not within the bounds (inclusive) of .getBeginIndex to .getEndIndex