SEARCH

Returns the position of a text segment within a character string. You can set the start of the search as an option. The search text can be a number or any sequence of characters. The search is not case-sensitive. If the text is not found, returns error 519 (#VALUE).

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every regular expression metacharacter or operator with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in - LibreOffice Calc - Calculate.

warning

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".


αžœαžΆαž€αŸ’αž™β€‹αžŸαž˜αŸ’αž–αž“αŸ’αž’β€‹β€‹

SEARCH("FindText"; "Text" [; Position])

αž’αžαŸ’αžαž”αž‘β€‹αžŸαŸ’αžœαŸ‚αž„αžšαž€ αž‚αžΊβ€‹αž‡αžΆβ€‹αž’αžαŸ’αžαž”αž‘β€‹αžŠαŸ‚αž›β€‹αžαŸ’αžšαžΌαžœβ€‹αžŸαŸ’αžœαŸ‚αž„αžšαž€Β αŸ”

αž’αžαŸ’αžαž”αž‘ αž‚αžΊβ€‹αž‡αžΆβ€‹αž’αžαŸ’αžαž”αž‘β€‹αžŠαŸ‚αž›β€‹αž€αžΆαžšβ€‹αžŸαŸ’αžœαŸ‚αž„αžšαž€β€‹αž“αžΉαž„β€‹αž€αžΎαžβ€‹αž‘αžΎαž„Β αŸ”

αž‘αžΈαžαžΆαŸ†αž„ (αž‡αžΆβ€‹αž‡αž˜αŸ’αžšαžΎαžŸ) αž‚αžΊβ€‹αž‡αžΆβ€‹αž‘αžΈαžαžΆαŸ†αž„β€‹αž“αŸ…β€‹αž€αŸ’αž“αž»αž„β€‹αž’αžαŸ’αžαž”αž‘β€‹αžŠαŸ‚αž›β€‹αž€αžΆαžšβ€‹αžŸαŸ’αžœαŸ‚αž„αžšαž€β€‹αžαŸ’αžšαžΌαžœβ€‹αž…αžΆαž”αŸ‹αž•αŸ’αžŠαžΎαž˜Β αŸ”

αž§αž‘αžΆαž αžšαžŽαŸ

=SEARCH(54;998877665544) αžαŸ’αžšαž‘αž”αŸ‹ 10Β αŸ”

Please support us!