摘要: IndexOf-搜索函数 int String.IndexOf(string value); 返回字符串中第一次出现子字符串的字符位置,从0开始,未找到子字符串返回-1。 int String.IndexOf(string value,int startIndex); 同上,但是从字符串的startIndex位置开始搜索,一直到字符串末尾。 int String.IndexOf(string v... 阅读全文
posted @ 2012-06-19 15:33 Setme 阅读(2691) 评论(0) 推荐(0) 编辑