elasticsearch/docs/reference/esql/functions/starts_with.asciidoc

12 lines
247 B
Plaintext

[[esql-starts_with]]
=== `STARTS_WITH`
Returns a boolean that indicates whether a keyword string starts with another
string:
[source,esql]
----
FROM employees
| PROJECT first_name, last_name, height
| EVAL ln_S = STARTS_WITH(last_name, "S")
----