# SEARCH Function

> Find the position of text within text, ignoring case, with the SEARCH formula function of TX Sheet Control: start position, wildcards, tilde and #VALUE!.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > SEARCH Function
- **237 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/search/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/search/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/search/llms-full.txt

---

Return the position of a text within another text, without regard to case. `find_text` is the text to find, `within_text` the text to search and `start_num` the position to start at (1 when omitted). `find_text` can contain the wildcards `?` for one character and `*` for any number of characters; `~` before a wildcard finds the character itself. Text that isn't found, or a `start_num` less than 1 or greater than the length, returns `#VALUE!`.

### Syntax

```text
SEARCH(find_text, within_text, start_num)
```

Category: Text. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

### Examples

```text
=SEARCH("b","abc")
```

The formula returns 2.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [SCAN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/scan/llms-full.txt)
- **Next:** [SEARCHB Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/searchb/llms-full.txt)
