Verify a text is not null and contains text:
StringUtils.isNotBlank(text);
Verify a text contains only numbers:
StringUtils.isNumeric(text);
Last updated 5 years ago
Was this helpful?