3 ms·
Is "veg%an" different than "vegan"? I thought this was a typo until you used the same spelling twice. (I'm a vegetarian.)
by cpeterso 14y ago
Is "veg%an" different than "vegan"? I thought this was a typo until you used the same spelling twice. (I'm a vegetarian.)
- biot 14y agoThe SQL statement: select * from diets where name like 'veg%an' Will match both 'vegan' and 'vegetarian'. The '%' wildcard matches any string of zero or more characters.
- chc 14y agoIncidentally, it's more commonly written as veg*n among non-nerds.
- colanderman 14y agoUnfortunately writing it twice causes HN to italicize stuff: vegn vegn :/
- deleted 14y ago[deleted]