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

247 B

% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.

Example

ROW a = "hello"
| EVAL a_ll = LOCATE(a, "ll")
a:keyword a_ll:integer
hello 3