sql.trim

sql.trim(
   str as String
) as String

Summary

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

Parameters
str The string to be evaluated.

Example

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