In [9]:
find(sub[, start[, end]])
Returns the lowest index of the substring if found.
### find(sub[, start[, end]])
**Description:**
Returns the lowest index where the substring is found. Returns -1 if not found.
**Example:**
“`python
text = “hello world”
print(text.find(“world”)) # Output: 6
“`
**Use Case:**
Used for locating substrings without raising errors.