Share via


UnicodeSet.Remove Method

Definition

Overloads

Remove(Int32, Int32)

Removes the specified range from this set if it is present.

Remove(Int32)

Removes the specified character from this set if it is present.

Remove(String)

Removes the specified string from this set if it is present.

Remove(ICharSequence)

Removes the specified string from this set if it is present.

Remove(Int32, Int32)

Removes the specified range from this set if it is present.

[Android.Runtime.Register("remove", "(II)Landroid/icu/text/UnicodeSet;", "GetRemove_IIHandler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? Remove (int start, int end);
[<Android.Runtime.Register("remove", "(II)Landroid/icu/text/UnicodeSet;", "GetRemove_IIHandler", ApiSince=24)>]
abstract member Remove : int * int -> Android.Icu.Text.UnicodeSet
override this.Remove : int * int -> Android.Icu.Text.UnicodeSet

Parameters

start
Int32

first character, inclusive, of range to be removed from this set.

end
Int32

last character, inclusive, of range to be removed from this set.

Returns

Attributes

Remarks

Removes the specified range from this set if it is present. The set will not contain the specified range once the call returns. If start &gt; end then an empty range is removed, leaving the set unchanged.

Java documentation for android.icu.text.UnicodeSet.remove(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

Remove(Int32)

Removes the specified character from this set if it is present.

[Android.Runtime.Register("remove", "(I)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)]
public Android.Icu.Text.UnicodeSet? Remove (int c);
[<Android.Runtime.Register("remove", "(I)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)>]
member this.Remove : int -> Android.Icu.Text.UnicodeSet

Parameters

c
Int32

the character to be removed

Returns

this object, for chaining

Attributes

Remarks

Removes the specified character from this set if it is present. The set will not contain the specified character once the call returns.

Java documentation for android.icu.text.UnicodeSet.remove(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

Remove(String)

Removes the specified string from this set if it is present.

public Android.Icu.Text.UnicodeSet? Remove (string? s);
member this.Remove : string -> Android.Icu.Text.UnicodeSet

Parameters

s
String

the string to be removed

Returns

this object, for chaining

Remarks

Removes the specified string from this set if it is present. The set will not contain the specified string once the call returns.

Java documentation for android.icu.text.UnicodeSet.remove(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

Remove(ICharSequence)

Removes the specified string from this set if it is present.

[Android.Runtime.Register("remove", "(Ljava/lang/CharSequence;)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)]
public Android.Icu.Text.UnicodeSet? Remove (Java.Lang.ICharSequence? s);
[<Android.Runtime.Register("remove", "(Ljava/lang/CharSequence;)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)>]
member this.Remove : Java.Lang.ICharSequence -> Android.Icu.Text.UnicodeSet

Parameters

s
ICharSequence

the string to be removed

Returns

this object, for chaining

Attributes

Remarks

Removes the specified string from this set if it is present. The set will not contain the specified string once the call returns.

Java documentation for android.icu.text.UnicodeSet.remove(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