return number from a string