=SEARCHB(find_text,within_text,[start_num])
=SEARCHB("world", "Hello world!")
In this example, the SEARCHB function is used to find the starting position of the substring "world" within the larger text string "Hello world!" The formula returns the value 7, indicating that the substring "world" starts at the 7th character position in the larger text string. Note that the SEARCHB function is used with double-byte character set (DBCS) languages and counts each double-byte character as two characters.
=SEARCHB("apple", "I have an apple.", 10)
In this example, the SEARCHB function is used to find the starting position of the substring "apple" within the larger text string "I have an apple." The search starts at the 10th character position, as specified by the optional [start_num] argument. The formula returns the value 11, indicating that the substring "apple" starts at the 11th character position in the larger text string. Again, note that the SEARCHB function is used with double-byte character set (DBCS) languages and counts each double-byte character as two characters.
The SEARCHB function is used to find the position of the first text string within another text string, starting at the specified position. It is the same as the SEARCH function, but it allows for a more specific search.