1.StringUtils.isBlank(CharSequence cs)
boolean org.apache.commons.lang3.StringUtils.isBlank(CharSequence cs)
Checks if a CharSequence is whitespace, empty ("") or null.
StringUtils.isBlank(null) = true
StringUtils.isBlank("") = true
StringUtils.isBlank(" ") = true
StringUtils.isBlank("bob") = false
StringUtils.isBlank(" bob ") = false
时间: 2024-10-31 23:34:34