Determine whether a string is numerica