C语言实现字符串替换函数(2)

Please input the string for s:
123123123123
Please input the string for s1:
23
Please input the string for s2:
abcdefg
结果:
源字符:123123123123
结果:1abcdefg
源字符:123123123123
结果:1abcdefg1abcdefg
源字符:123123123123
结果:1abcdefg1abcdefg1abcdefg
源字符:123123123123
替换4个子字符串;
替换后结果:1abcdefg1abcdefg1abcdefg1abcdefg
请按任意键继续. . .

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/dbd8ee996669aa20b18e318fe31cbaa2.html