java 通俗易懂版 转化成char[] 利用两个变量 index end ---> 找到单词 import java.util.Scanner; public class H31 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = " " + sc.nextLine(); int index = 0; int end = 0; StringBui...