String.IndexOf(string s, int start, int count)
是搜索start到start+count之间的字符串,而不是搜索次数。
是搜索start到start+count之间的字符串,而不是搜索次数。
解决方案 »
- b2c网站
- VSS6+Visual studio2005的问题
- 初学者,关于数据库.net与sqlserver2005连接的问题总是出错。
- 高手请进,如何把随机生成的数据插入一个临时表?
- 购物车不能更新
- 大家帮帮忙谁有visual sourcesafe 6.0c下载,在线等啊,急
- 请【思归】及asp.net版的各位版主来证实一下,为什么我的回复会被删除?
- jmail中出现The message was undeliverable. All servers failed to receive the message
- 最后20分找一个简单的解决办法?无法找到脚本库。。。。
- JavaScript的函数调用MediaPlay 的Play();怎么老是 Not OK???
- aspx文件如何显示页面最后更改时间?
- 在使用treeview控件时,点击一项后会出现淡蓝色的背景,如何改变这个背景色?
有没有其它好方法,谢了先。
Response.Write(Regex.Match(x,@"^([^.]+\.){1}").Length);
Response.Write(Regex.Match(x,@"^([^.]+\.){2}").Length);
Response.Write(Regex.Match(x,@"^([^.]+\.){3}").Length);
Response.Write(Regex.Match(x,@"^([^.]+\.){4}").Length);