The SEARCH function

Returns the position of one text inside another, ignoring upper and lower case. Wildcards * and ? are allowed.

Syntax

SEARCH(find_text, within_text, [start_num])
find_text
The text to look for; may contain * and ?.
within_text
The text to search in.
start_num (optional)
The position to start from. Default 1.

Examples

C1=SEARCH("d",A2)
ABC
1Code1
2DK-2100

In plain words: Find the position of d, in upper or lower case, in the code in A2.

C1=SEARCH("2*0",A2)
ABC
1Code4
2DK-2100

Read the guide

Related functions