XQuery - String Functions-string-length Function - XQuery

The string-length function is used in finding out the length of a string.


Input Parameters

  • $string − provided string.


XQuery Expression


Verify the Result

In order to test the above-mentioned functionality, replace the contents of books.xqy (mentioned in Environment Setup chapter) with the above XQuery expression and execute the XQueryTester java program to verify the result.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

XQuery Topics