text →
retain-numeric() → text

Returns the input string with all non-numeric characters removed, leaving only digits (0-9).. If the argument is null, it returns null.

Parameters

This function has no parameters.

Examples

"Hello World" | retain-numeric  "(empty)"

Kind: Function
Scope: text/filtering
Aliases: text-to-retain-numeric


This site uses Just the Docs, a documentation theme for Jekyll.