get number from a string