随笔分类 - 数据字符
摘要:compare函数用来进行字符串以及其子串的比较,示例如下:#include #include #include using std::cout;using std::endl;using std::cin;using std::string;int main(void){ string str1=...
阅读全文
posted @ 2015-05-16 08:35
ike_li
摘要:Split分隔字符串的应用(asp.net,vb.net,split、分隔、字符串)1、用字符串分隔: c#CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem.Text.RegularExpressions;stringstr="aaajsbbbjsccc";string[]sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase
阅读全文
posted @ 2008-08-20 09:46
ike_li

浙公网安备 33010602011771号