Evaluates strings containing numeric expressions