String cname=str[0].charAt(0)+"";
 String cname2=str[0].charAt(2)+"";

直接拿第一个字母作为 名字?