StringUtils中的常用方法

版权声明:本文为博主原创文章,未经博主允许禁止转载(http://blog.csdn.net/napoay) https://blog.csdn.net/napoay/article/details/80824501

StringUtils.hasText(str)

如果字符串里面的值为null, “”, ” “,那么返回值为false;否则为true

containsWhitespace(str)

是否包含空格

猜你喜欢

转载自blog.csdn.net/napoay/article/details/80824501
今日推荐