1
0

ltrim.asciidoc 534 B

1234567891011121314151617181920212223242526272829303132
  1. [discrete]
  2. [[esql-ltrim]]
  3. === `LTRIM`
  4. *Syntax*
  5. [.text-center]
  6. image::esql/functions/signature/ltrim.svg[Embedded,opts=inline]
  7. *Parameters*
  8. `str`::
  9. String expression. If `null`, the function returns `null`.
  10. *Description*
  11. Removes leading whitespaces from strings.
  12. *Supported types*
  13. include::types/rtrim.asciidoc[]
  14. *Example*
  15. [source.merge.styled,esql]
  16. ----
  17. include::{esql-specs}/string.csv-spec[tag=ltrim]
  18. ----
  19. [%header.monospaced.styled,format=dsv,separator=|]
  20. |===
  21. include::{esql-specs}/string.csv-spec[tag=ltrim-result]
  22. |===