fn.normalizeUnicode

fn.normalizeUnicode(
   arg as String?,
   [normalizationForm as String]
) as String?

Summary

Return the argument normalized according to the normalization criteria for a normalization form identified by the value of $normalizationForm. The effective value of the $normalizationForm is computed by removing leading and trailing blanks, if present, and converting to upper case.

Parameters
arg The string to normalize.
normalizationForm The form under which to normalize the specified string: NFC, NFD, NFKC, or NFKD.

Example

fn.normalizeUnicode("Abcd");

=> Abcd
Powered by MarkLogic Server | Terms of Use | Privacy Policy