Share via


BreakIterator.Last Method

Definition

Set the iterator to the last boundary position.

[Android.Runtime.Register("last", "()I", "GetLastHandler", ApiSince=24)]
public abstract int Last ();
[<Android.Runtime.Register("last", "()I", "GetLastHandler", ApiSince=24)>]
abstract member Last : unit -> int

Returns

The character offset of the end of the stretch of text being broken.

Attributes

Remarks

Set the iterator to the last boundary position. This is always the "past-the-end" index of the text this iterator iterates over. For example, if the iterator iterates over a whole string (call it "text"), this function will always return text.length().

Java documentation for android.icu.text.BreakIterator.last().

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