⊦ trim-number(str) = string-right-trim("0123456789", str)
⊦ string-right-trim("0123456789", str + n→s(m)) = trim-number(str)
Used terms: str + n→s(m)