Java如何按空格读取内容

Posted on 2018-11-01 22:19  Zero_THX  阅读(1061)  评论(0)    收藏  举报
String s = input.nextLine();
String[] data = s.split(" ");