Share via


Edits.AddReplace(Int32, Int32) Method

Definition

Adds a change edit: a record for a text replacement/insertion/deletion.

[Android.Runtime.Register("addReplace", "(II)V", "", ApiSince=29)]
public void AddReplace (int oldLength, int newLength);
[<Android.Runtime.Register("addReplace", "(II)V", "", ApiSince=29)>]
member this.AddReplace : int * int -> unit

Parameters

oldLength
Int32
newLength
Int32
Attributes

Remarks

Adds a change edit: a record for a text replacement/insertion/deletion. Normally called from inside ICU string transformation functions, not user code.

Java documentation for android.icu.text.Edits.addReplace(int, int).

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