MarkLogic 9 Product Documentation
sql:ltrim

sql:ltrim(
   $str as xs:string
) as xs:string

Summary

Return a string that removes leading empty spaces in the input string.

Parameters
str The string to be evaluated.

Example

  sql:ltrim("             this is text")
  => this is text
Powered by MarkLogic Server | Terms of Use | Privacy Policy