spec for number in string