MarkLogic Server 11.0 Product Documentation
sql:rtrimsql:rtrim(
$str as xs:string?
) as xs:string?
Summary
Return a string that removes trailing empty spaces in the input string.
Parameters |
str |
The string to be evaluated.
|
Example
sql:rtrim(" this is text")
=> this is text
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.