Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

isblank vs isempty

 StringUtils.isBlank(null)      = true
 StringUtils.isBlank("")        = true  
 StringUtils.isBlank(" ")       = true  
 StringUtils.isBlank("bob")     = false  
 StringUtils.isBlank("  bob  ") = false
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #isblank #isempty
ADD COMMENT
Topic
Name
8+8 =