查找功能应该使用String类的这两个函数做.
int indexOf(String str) 
          Returns the index within this string of the first occurrence of the specified substring. 
 int indexOf(String str, int fromIndex) 
          Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.