elasticsearch/docs/reference/query-languages/esql/_snippets/functions/examples/locate.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
247 B
Markdown
Raw Normal View History

% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.
**Example**
```esql
ROW a = "hello"
| EVAL a_ll = LOCATE(a, "ll")
```
| a:keyword | a_ll:integer |
| --- | --- |
| hello | 3 |