ICharacterIterator.First Method

Definition

Sets the position to getBeginIndex() and returns the character at that position.

[Android.Runtime.Register("first", "()C", "GetFirstHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public char First ();
[<Android.Runtime.Register("first", "()C", "GetFirstHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member First : unit -> char

Returns

the first character in the text, or DONE if the text is empty

Attributes

Remarks

Sets the position to getBeginIndex() and returns the character at that position.

Java documentation for java.text.CharacterIterator.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