var formatString = "{a}xxxxxxx{c}xxxnhkv1sx5v02oxxx{e}xxx";Dictionary<string, string> dic = new Dictionary<string, string>{ { "a","xxxx" }, { "b","xxx" }, { "c","x" }, { "e","xxxxxx" }, { "d","xxxxxxx" },};如上: 如何使用dic中的值去替換formatString {\w+} 字符串呢有木有大神知道, 請(qǐng)指點(diǎn)感激不盡
- 2 回答
- 0 關(guān)注
- 780 瀏覽
添加回答
舉報(bào)
0/150
提交
取消