Android String Empty Check ckIsEmpty(String s)

Here you can find the source of ckIsEmpty(String s)

Description

ck Is Empty

Declaration

public static boolean ckIsEmpty(String s) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean ckIsEmpty(String s) {
        if (s == null || s.trim().equals("") || s.trim().equals("null")) {
            return true;
        }//from   w ww  .  j  a va 2  s .com
        return false;
    }
}

Related

  1. isEmptyOrNull(String str)
  2. filterString(String string)
  3. isBlank(String s)
  4. isBlank(String str)