2008年5月14日
摘要: IndexOf-搜索函数 int String.IndexOf(string value); 返回字符串中第一次出现子字符串的字符位置,从0开始,未找到子字符串返回-1。 int String.IndexOf(string value,int startIndex); 同上,但是从字符串的startIndex位置开始搜索,一直到字符串末尾。 int String.IndexOf(string va... 阅读全文
posted @ 2008-05-14 16:53 向左、 阅读(519) 评论(0) 推荐(0) 编辑