var formatString = "{a}xxxx{b}xxx{c}xxx{d}xxx{e}xxx";Dictionary<string, string> dic = new Dictionary<string, string>{ { "a","xxxx" }, { "b","xxx" }, { "c","x" }, { "e","xxxxxx" }, { "d","xxxxxxx" },};如上: 如何使用dic中的值去替换formatString {\w+} 字符串呢有木有大神知道, 请指点感激不尽
2 回答
- 2 回答
- 0 关注
- 737 浏览
添加回答
举报
0/150
提交
取消