Find the position of substring in the given string - Case-insensitive
=SEARCH()
Scenario | Formula | Result |
---|---|---|
Find the position of "m" in "Mango" | =SEARCH("m", "Mango") | 1 (FIND produces an error) |
Find "e" in "Elephant" | =SEARCH("e", "Elephant") | 2 (First occurrence) |
Locate "o" in "Hello World" | =SEARCH("o", "Hello World") | 5 |
Find "o" in "Hello World" starting from position 6 | =SEARCH("o", "Hello World", 6) | 8 |
Check if "@" exists in an email | =IF(ISNUMBER(SEARCH("@", A1)), "Valid Email", "Invalid Email") |