<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div><br><div>Hello.<br><br>The web page at: <a class="moz-txt-link-freetext" href="http://docs.python.org/library/string.html">http://docs.python.org/library/string.html</a><br><br>contains the following entry<br><dl class="function"><dt id="string.find">
<tt class="descclassname">string.</tt><tt class="descname">find</tt><big>(</big><em>s</em>, <em>sub</em><span class="optional">[</span>, <em>start</em><span class="optional">[</span>, <em>end</em><span class="optional">]</span><span class="optional">]</span><big>)</big><a class="headerlink" href="http://docs.python.org/library/string.html#string.find" title="Permalink to this definition">¶</a></dt><dd>Return the lowest index in <em>s</em> where the substring <em>sub</em> is found such that
<em>sub</em> is wholly contained in <tt class="docutils literal"><span class="pre">s[start:end]</span></tt>. Return <tt class="docutils literal"><span class="pre">-1</span></tt> on failure.
Defaults for <em>start</em> and <em>end</em> and interpretation of negative values is the same
as for slices.</dd><dt><br></dt></dl>
I believe that the first find() parameter should be removed (i.e. "s").<br><br>The web page at: <a class="moz-txt-link-freetext" href="http://docs.python.org/library/stdtypes.html">http://docs.python.org/library/stdtypes.html</a><br>contains the text<br><br><dl class="method"><dt id="str.find">
<tt class="descclassname">str.</tt><tt class="descname">find</tt><big>(</big><em>sub</em><span class="optional">[</span>, <em>start</em><span class="optional">[</span>, <em>end</em><span class="optional">]</span><span class="optional">]</span><big>)</big><a class="headerlink" href="http://docs.python.org/library/stdtypes.html#str.find" title="Permalink to this definition">¶</a></dt><dd><p>Return the lowest index in the string where substring <em>sub</em> is found, such
that <em>sub</em> is contained in the slice <tt class="docutils literal"><span class="pre">s[start:end]</span></tt>. Optional arguments
<em>start</em> and <em>end</em> are interpreted as in slice notation. Return <tt class="docutils literal"><span class="pre">-1</span></tt> if
<em>sub</em> is not found.</p></dd></dl>where the .find method does not include the "s" parameter. <br><br><br>(Code testing shows that a string.find() call expects one 'search-target' string (i.e. sub) )<br><br><br>Brett<br><br><br><br></div></div></FONT>