Share via


UnicodeSetSpanner.DeleteFrom Method

Definition

Overloads

DeleteFrom(ICharSequence)

Delete all the matching spans in sequence, using SpanCondition.

DeleteFrom(String)

Delete all the matching spans in sequence, using SpanCondition.

DeleteFrom(ICharSequence, UnicodeSet+SpanCondition)
DeleteFrom(String, UnicodeSet+SpanCondition)

DeleteFrom(ICharSequence)

Delete all the matching spans in sequence, using SpanCondition.

[Android.Runtime.Register("deleteFrom", "(Ljava/lang/CharSequence;)Ljava/lang/String;", "GetDeleteFrom_Ljava_lang_CharSequence_Handler", ApiSince=24)]
public virtual string? DeleteFrom (Java.Lang.ICharSequence? sequence);
[<Android.Runtime.Register("deleteFrom", "(Ljava/lang/CharSequence;)Ljava/lang/String;", "GetDeleteFrom_Ljava_lang_CharSequence_Handler", ApiSince=24)>]
abstract member DeleteFrom : Java.Lang.ICharSequence -> string
override this.DeleteFrom : Java.Lang.ICharSequence -> string

Parameters

sequence
ICharSequence

charsequence to replace matching spans in.

Returns

modified string.

Attributes

Remarks

Delete all the matching spans in sequence, using SpanCondition.SIMPLE The code alternates spans; see the class doc for UnicodeSetSpanner for a note about boundary conditions.

Java documentation for android.icu.text.UnicodeSetSpanner.deleteFrom(java.lang.CharSequence).

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

DeleteFrom(String)

Delete all the matching spans in sequence, using SpanCondition.

public string? DeleteFrom (string? sequence);
member this.DeleteFrom : string -> string

Parameters

sequence
String

charsequence to replace matching spans in.

Returns

modified string.

Remarks

Delete all the matching spans in sequence, using SpanCondition.SIMPLE The code alternates spans; see the class doc for UnicodeSetSpanner for a note about boundary conditions.

Java documentation for android.icu.text.UnicodeSetSpanner.deleteFrom(java.lang.CharSequence).

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

DeleteFrom(ICharSequence, UnicodeSet+SpanCondition)

[Android.Runtime.Register("deleteFrom", "(Ljava/lang/CharSequence;Landroid/icu/text/UnicodeSet$SpanCondition;)Ljava/lang/String;", "GetDeleteFrom_Ljava_lang_CharSequence_Landroid_icu_text_UnicodeSet_SpanCondition_Handler", ApiSince=24)]
public virtual string? DeleteFrom (Java.Lang.ICharSequence? sequence, Android.Icu.Text.UnicodeSet.SpanCondition? spanCondition);
[<Android.Runtime.Register("deleteFrom", "(Ljava/lang/CharSequence;Landroid/icu/text/UnicodeSet$SpanCondition;)Ljava/lang/String;", "GetDeleteFrom_Ljava_lang_CharSequence_Landroid_icu_text_UnicodeSet_SpanCondition_Handler", ApiSince=24)>]
abstract member DeleteFrom : Java.Lang.ICharSequence * Android.Icu.Text.UnicodeSet.SpanCondition -> string
override this.DeleteFrom : Java.Lang.ICharSequence * Android.Icu.Text.UnicodeSet.SpanCondition -> string

Parameters

sequence
ICharSequence
spanCondition
UnicodeSet.SpanCondition

Returns

Attributes

Remarks

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

DeleteFrom(String, UnicodeSet+SpanCondition)

public string? DeleteFrom (string? sequence, Android.Icu.Text.UnicodeSet.SpanCondition? spanCondition);
member this.DeleteFrom : string * Android.Icu.Text.UnicodeSet.SpanCondition -> string

Parameters

sequence
String
spanCondition
UnicodeSet.SpanCondition

Returns

Remarks

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