Android String Empty Check isEmptyString(String str)

Here you can find the source of isEmptyString(String str)

Description

is Empty String

Declaration

public static boolean isEmptyString(String str) 

Method Source Code

//package com.java2s;

public class Main {

    public static boolean isEmptyString(String str) {
        return str == null || str.trim().equals("");
    }//from  w ww  .ja  v a 2s  .  com
}

Related

  1. isEmpty(String s)
  2. isEmpty(String s)
  3. isEmpty(String str)
  4. trimToEmpty(String str)
  5. isEmpty(String string)
  6. isEmptyString(String str)
  7. isNullOrEmpty(CharSequence any)
  8. isNullOrEmpty(String s)
  9. emptyOrNull(String str)