SEARCH returns the number of a particular character at the location where it was first found, starting with start_num.
Use SEARCH to determine the position of a character or text string within other text strings so that the text can be changed using the MID or REPLACE functions.
grammar
SEARCH(find_text,within_text,start_num)
Find_text is the text to look for. Wildcards can be used in find_text, including question marks (?). And asterisks (*), question marks can match any single character,
An asterisk can match any string of characters. If you want to find a real question mark or asterisk, type the waveform character (~) before the character.
Within_text is the text in which you want to look for find_text.
Start_num is the number of the character to start looking for in within_text.
Instructions
- SEARCH is case insensitive when finding text.
SEARCH is similar to FIND, but FIND is case sensitive.
If find_text is not found, the #VALUE! Error value is returned. .
- If start_num is ignored, it is assumed to be 1.
- If start_num is not greater than 0 (zero) or greater than within_text, the #VALUE! Error value is returned. .
I want to create a clean, concise and efficient office reference manual, in order to maintain a good reference experience, I did not add any third-party advertisements in my blog, of course, if you are willing, you can watch the following video, it can bring me some income, so that I can better maintain the server to provide higher quality service, thank you for your help and support.
You can choose any link below to watch my videos and I will earn some money to strengthen the site and resist DDOS attacks that may happen at any time, thank you for your support!
(Please note: Please do not maliciously click on links or video ads to increase invalid traffic, as this can result in lower or no revenue.)
Learn to consult the manual video
(Will be released in the later period with the consult the manual article, please pay attention.)
My Febspot video list (Learn after-school relaxation videos)
https://suu.us/sponsor
My Febspot video home page
https://www.febspot.com/leet4477/