摘要: //第一种: string abc = "……";//你的字符串 abc = abc.Replace("1", "A");//将abc字符串中的 1 替换成 A //第二种 System.Text.RegularExpressions.Regex.Replace("在替的字符串", "要搜索的字符串(这里可以用正则表达式)", "替换的字符串"); //例子 strin... 阅读全文
posted @ 2010-10-19 16:24 Sue_娜 阅读(147) 评论(0) 推荐(0) 编辑