String cname=str[0].charAt(0)+"";  String cname2=str[0].charAt(2)+""; 直接拿第一个字母作为 名字?
点赞 1
牛客网
牛客网在线编程
牛客网题解
牛客企业服务