
sql:ltrim( $str as xs:string ) as xs:string
Return a string that removes leading empty spaces in the input string.
| Parameters | |
|---|---|
| str | The string to be evaluated. |
sql:ltrim(" this is text")
=> this is text
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.