previous

abstract fun previous(): Int

Returns the boundary preceding the current boundary. If the current boundary is the first text boundary, it returns BreakIterator.DONE and the iterator's current position is unchanged. Otherwise, the iterator's current position is set to the boundary preceding the current boundary.

Return

The character index of the previous text boundary or BreakIterator.DONE if the current boundary is the first text boundary.