Share via


BreakIterator.Previous Method

Definition

Returns the boundary preceding the current boundary.

[Android.Runtime.Register("previous", "()I", "GetPreviousHandler")]
public abstract int Previous ();
[<Android.Runtime.Register("previous", "()I", "GetPreviousHandler")>]
abstract member Previous : unit -> int

Returns

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

Attributes

Remarks

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.

Java documentation for java.text.BreakIterator.previous().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to