StringUtils.isNotEmpty() VS StringUtils.isNotBlank() in WCS

StringUtils.isNotEmpty() StringUtils.isNotEmpty() is used to find if the String is not empty/String is length 0 and not null. Example:StringUtils.isNotEmpty(null)      = falseStringUtils.isNotEmpty(“”)         = falseStringUtils.isNotEmpty(” “)       = trueStringUtils.isNotEmpty(”  lol  “) = trueStringUtils.isNotEmpty(“lol”)     = true StringUtils.isNotBlank() StringUtils.isNotBlank() takes it a step forward. It not only checks if the 

Continue Reading →