* In the following query, the input is first normalized (words are stemmed, converted to lower case, and diacritics are removed). It returns {{Code|1}}:
<syntaxhighlight pre lang="'xquery"'>
let $norm := ft:normalize(?, map { 'stemming': true() })
{{Announce|The functions in this section have been adopted from the obsolete Output Module.}}
==string:format==
| width='120' | '''Signature'''
|<pre>string:format(
$format pattern as xs:string, $items values... as item() ...
) as xs:string</pre>
|- valign="top"
| '''Summary'''
|Returns a formatted string. The remaining arguments specified by {{Code|$itemsvalues}} are applied to incorported into the {{Code|$formatpattern}} string, according to [https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html#syntax Java’s printf syntax].