Articles → Python → Find Function In Python
Find Function In Python
Purpose
Example
str = "this is string example"
print("string 'example' is found at position:", str.find("example"))
print("string 'xx' is found at position:", str.find("xx"))
Output
Posted By - | Karan Gupta |
|
Posted On - | Friday, February 22, 2019 |