tryParse

Parses a number or range according to the OptiGUI docs.