Java 将字符串按特定的分隔符拆分成字符串数组

String.split()

String pronunciation = "zhī jǐn huí wén";
String[] pronunciationArray = pronunciation.split(" ");
posted @ 2022-03-15 18:14  指切  阅读(452)  评论(0编辑  收藏  举报