Share via


BreakIterator.First Method

Definition

Set the iterator to the first boundary position.

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

Returns

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

Attributes

Remarks

Set the iterator to the first boundary position. This is always the beginning index of the text this iterator iterates over. For example, if the iterator iterates over a whole string, this function will always return 0.

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

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