convert string from number