Words containing "the" substring: Difference between revisions
→{{header|Julia}}
m (→{{header|REXX}}: made more idiomatic.) |
|||
Line 378:
=={{header|Julia}}==
See [[Alternade_words:Julia]] for the foreachword function.
<lang julia>containsthe(w, d) = occursin("the", w) ? w : ""
foreachword("unixdict.txt", containsthe, minlen = 12)
</lang>{{out}}
<pre>
Word source: unixdict.txt
authenticate chemotherapy chrysanthemum clothesbrush clotheshorse eratosthenes
featherbedding featherbrain featherweight gaithersburg hydrothermal lighthearted
mathematician neurasthenic nevertheless northeastern northernmost otherworldly
parasympatheticphysiotherapistphysiotherapy psychotherapeuticpsychotherapistpsychotherapy
radiotherapy southeastern southernmost theoretician weatherbeaten weatherproof
weatherstrip weatherstripping▼
▲weatherstripping
</pre>
|