⊦ trim-number(str) = string-right-trim("0123456789", str)
⊦ trim-number(string-right-trim("0123456789", str)) = string-right-trim("0123456789", str)
Used terms: str