Words containing "the" substring: Difference between revisions
Content added Content deleted
Line 378: | Line 378: | ||
=={{header|Julia}}== |
=={{header|Julia}}== |
||
See [[Alternade_words |
See [[Alternade_words]] for the foreachword function. |
||
<lang julia>containsthe(w, d) = occursin("the", w) ? w : "" |
<lang julia>containsthe(w, d) = occursin("the", w) ? w : "" |
||
foreachword("unixdict.txt", containsthe, minlen = 12) |
foreachword("unixdict.txt", containsthe, minlen = 12) |