public synchronized int indexOf(String str, int fromIndex)
public int indexOf(String str)
  public synchronized int indexOf(String str, int fromIndex)  {    if (fromIndex < 0)      fromIndex = 0;    int limit = count - str.count;    for ( ; fromIndex <= limit; fromIndex++)      if (regionMatches(fromIndex, str))        return fromIndex;    return -1;  }