Remove trailing zeros and trailing or leading whitespaces, colons, hyphens and underscores
trim_label(x)
x
A character value.
The trimmed character value.