system.out.println(s.indexof("h"));//索引第一個出現一個字元的角标
system.out.println(s.trim());//去掉字元串前後空格
system.out.println(s.lastindexof("h"));//索引最後出現一個字元的角标
system.out.println(s.substring(o));//截取字元串的長度,把o之前的字元串剪切了,保留在變量中
string[] arrr = s.split(",");//把一個字元串 進行拆分 按着一定的格式 生成一個字元串數組 split();