add len option to string validator