String.IndexOf(string s, int start, int count)
是搜索start到start+count之间的字符串,而不是搜索次数。