Share via


TextUtils.IsEmpty Method

Definition

Overloads

IsEmpty(ICharSequence)

Returns true if the string is null or 0-length.

IsEmpty(String)

Returns true if the string is null or 0-length.

IsEmpty(ICharSequence)

Returns true if the string is null or 0-length.

[Android.Runtime.Register("isEmpty", "(Ljava/lang/CharSequence;)Z", "")]
public static bool IsEmpty (Java.Lang.ICharSequence? str);
[<Android.Runtime.Register("isEmpty", "(Ljava/lang/CharSequence;)Z", "")>]
static member IsEmpty : Java.Lang.ICharSequence -> bool

Parameters

str
ICharSequence

the string to be examined

Returns

true if str is null or zero length

Attributes

Remarks

Returns true if the string is null or 0-length.

Java documentation for android.text.TextUtils.isEmpty(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

IsEmpty(String)

Returns true if the string is null or 0-length.

public static bool IsEmpty (string? str);
static member IsEmpty : string -> bool

Parameters

str
String

the string to be examined

Returns

true if str is null or zero length

Remarks

Returns true if the string is null or 0-length.

Java documentation for android.text.TextUtils.isEmpty(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