摘要:
闲来无事,中午一群里同学问了一个简单的问题,就是找寻abc12345def中的12345,也就是根据abc和def找到中间那串,想来正则是最简单的做法了。。奈何本人比较无聊,又想了其他的方法,代码如下环境:.net4.0+vs2010 class Program { static void Main(string[] args) { string test = "abc*12345*def"; string p = "abc"; string n = "def"; st... 阅读全文
posted @ 2011-12-06 14:19
露高夫
阅读(166)
评论(0)
推荐(0)
浙公网安备 33010602011771号