About 8,610,000 results
Open links in new tab
  1. Python String find() Method - W3Schools

    The find() method finds the first occurrence of the specified value. The find() method returns -1 if the value is not found. The find() method is almost the same as the index() method, the only …

  2. How does find procedure work in python - Stack Overflow

    Apr 18, 2013 · Here is a solution that returns all the hints in a list, and rfind is defined using the original find keyword backwards. You can use for integers or floats also. You can easily modify …

  3. How to Use the find() Function in Python? - Python Guides

    Jan 8, 2025 · Learn how to use Python's `find()` function to locate substrings within a string. This tutorial covers syntax, examples, and tips for efficient string searching.

  4. Find Function in Python

    Feb 25, 2023 · The find() function in Python is a built-in method that allows you to search for a specific substring within a larger string. It returns the index of the first occurrence of the …

  5. Python Find Function: Simple String Searching - Linux Dedicated …

    Sep 7, 2023 · The find function in Python is used to locate the position of a substring within a string, for example with the command str.find('World'). If the substring “World” is found in the …

  6. python 3.x - find () method in python3 - Stack Overflow

    Jan 24, 2017 · In the find () function in python3 the second argument you are talking about is the starting index which is by default 0 but you can reset it to any value by giving this second …

  7. Python Functions - W3Schools

    In Python a function is defined using the def keyword: To call a function, use the function name followed by parenthesis: Information can be passed into functions as arguments. Arguments …

  8. Building 'Find' function in Python - Stack Overflow

    May 8, 2025 · However, I am struggling with creating a function which will search for a specific character in a given string and return how many times that character was counted. The code I …

  9. Python String find() - Programiz

    The find() method returns the index of first occurrence of the substring (if found). If not found, it returns -1. The syntax of the find() method is: The find() method takes maximum of three …

  10. Mastering the `find` Function in Python - CodeRivers

    Jan 26, 2025 · In the realm of Python programming, the find function is a powerful and versatile tool, especially when dealing with strings. Whether you're parsing text, searching for specific …

Refresh