Java tutorial
//package com.java2s; public class Main { public static boolean IsNullOrEmpty(String str) { if (str == null || str.isEmpty()) return true; return false; } }