ending point

About this tag
The tag 'ending point' on WindowsForum.com is used in discussions about Python string methods, specifically the find() function. In Python, the find() method searches for a substring within a string and returns the index of the first occurrence, or -1 if not found. Users can specify optional starting and ending points to limit the search range. The tag appears in threads where users seek examples and clarification on how to use these parameters effectively, including the default behavior when no match is found.
  1. M

    Android Python string find() examples

    I'm looking for examples, but I'm not finding any. Are there any examples on the internet? I'd like to know what it returns when it can't find something, as well as how to specify the starting and ending points, which I assume will be 0, -1. >>> x = "Hello World" >>> x.find('World') 6 >>>...
Back
Top