魅影

不是强者,以后会是!

导航

随笔分类 -  C#学习

C# 字符串操作
摘要:从字符串:aba,3456df3!344dfdf 提取 34563344暂时就想到这几种方法,以后有了再补充引用:using System.Diagnostics;Stopwatch sp = new Stopwatch(); sp.Start(); string str= "aba,3456df3!344dfdf"; string result = string.Empty; //测试结果 34563344 用时 00:00:00.0000094 for (int i = 0; i < str.Length; i++) { if (char.IsNumber(str 阅读全文

posted @ 2011-05-01 02:07 李豫川 阅读(163) 评论(0) 推荐(0)