java中如何以空格分隔字符串

String []  str = "你好    我   来   自  中国".split("\\s+");

猜你喜欢

转载自blog.csdn.net/qq_37669050/article/details/98986261