I would like to know if there is a simple approach to split units and quantities apart in a string notation, where the unit is optional.
entry examples: 10, 20kg, 14h, 5
;
What would you use to split for example the 20kg into 20 and kg etc?
*edit: in my examples list I didn't include decimal values, but those are also possible. (0.1 or 1.25 euro)