SyntaxFix
Write A Post
Hire A Developer
Questions
You can use apache commons StringUtils isEmpty() or isNotEmpty().