切分由若干个空格符输入的字符串

String[] split = line.split("\\s+");

posted @ 2023-10-03 10:37  Chenyi_li  阅读(10)  评论(0)    收藏  举报