判断字符串是否为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;
}

浙公网安备 33010602011771号