1
0

starts_with.asciidoc 247 B

1234567891011
  1. [[esql-starts_with]]
  2. === `STARTS_WITH`
  3. Returns a boolean that indicates whether a keyword string starts with another
  4. string:
  5. [source,esql]
  6. ----
  7. FROM employees
  8. | PROJECT first_name, last_name, height
  9. | EVAL ln_S = STARTS_WITH(last_name, "S")
  10. ----