Model string validation