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 w3programmers.org #
 
PREVIOUS NEXT
Tagged: #isblank #isempty
ADD COMMENT
Topic
Name
8+1 =