判断字符串是否为null、"null"、""

public static boolean isEmptyString(String strValue)
	{
		boolean bIsEmpty = false;
		
		if (null == strValue || strValue.trim().equals("") || strValue.trim().equalsIgnoreCase("null"))
		{
			bIsEmpty = true;
		}
		
		return bIsEmpty;
	}

  

posted @ 2020-11-24 16:16  怀梦_lqb  阅读(274)  评论(0编辑  收藏  举报