char DesChar[20] = {0};
 char* SouChar= "1cZCD23456abEFdedfB";
 sscanf(SouChar,"%[^A-Z]",DesChar);

可用于查找和截取字符串

04-16 07:04