haitao: 标准c里有字符串替换函数吗? [阅读: 1030] 2006-07-05 02:44:16 char* strreplace(char* str,char* sold,char* snew) 好像没有,自己写,主要是old和new长度不等时,需要把后面的字符串前移或后移。。。