我想使用Java检查Java字符串或字符数组是否不仅仅由空格组成?
这是一个非常相似的问题,除了它是Javascript:
How can I check if string contains characters & whitespace, not just whitespace?
编辑:我去掉了关于字母数字字符的部分,所以它更有意义。
https://stackoverflow.com/questions/3247067
相似问题