次の方法で共有


Edits.Iterator.NewLength Method

Definition

The length of the current span in the destination string, which starts at #destinationIndex, or in the replacement string, which starts at #replacementIndex.

[Android.Runtime.Register("newLength", "()I", "", ApiSince=29)]
public int NewLength ();
[<Android.Runtime.Register("newLength", "()I", "", ApiSince=29)>]
member this.NewLength : unit -> int

Returns

the number of units in the destination string, if hasChange() is true. Same as oldLength if hasChange() is false.

Attributes

Remarks

The length of the current span in the destination string, which starts at #destinationIndex, or in the replacement string, which starts at #replacementIndex.

Java documentation for android.icu.text.Edits.Iterator.newLength().

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