History of Idiom 39 > diff from v29 to v30
Edit summary for version 30 by programming-idioms.org:
[Lua] 2 ways => 2 impls
[Lua] 2 ways => 2 impls
↷
Version 29
2016-11-11, 20:05:17
Version 30
2016-11-11, 20:07:45
Idiom #39 Check if string contains a word
Set boolean ok to true if string word is contained in string s as a substring, or to false otherwise.
Idiom #39 Check if string contains a word
Set boolean ok to true if string word is contained in string s as a substring, or to false otherwise.
Comments bubble
Comments bubble
If you need ok to equate true or false, then see other implementation.