Words containing "the" substring: Difference between revisions
Content added Content deleted
(Added Processing code) |
|||
Line 968: | Line 968: | ||
end if |
end if |
||
end for</lang> |
end for</lang> |
||
=={{header|Nim}}== |
|||
<lang Nim>import strutils |
|||
var count = 0 |
|||
for word in "unixdict.txt".lines: |
|||
if word.len > 11 and word.contains("the"): |
|||
inc count |
|||
echo ($count).align(2), ' ', word</lang> |
|||
{{out}} |
|||
<pre> 1 authenticate |
|||
2 chemotherapy |
|||
3 chrysanthemum |
|||
4 clothesbrush |
|||
5 clotheshorse |
|||
6 eratosthenes |
|||
7 featherbedding |
|||
8 featherbrain |
|||
9 featherweight |
|||
10 gaithersburg |
|||
11 hydrothermal |
|||
12 lighthearted |
|||
13 mathematician |
|||
14 neurasthenic |
|||
15 nevertheless |
|||
16 northeastern |
|||
17 northernmost |
|||
18 otherworldly |
|||
19 parasympathetic |
|||
20 physiotherapist |
|||
21 physiotherapy |
|||
22 psychotherapeutic |
|||
23 psychotherapist |
|||
24 psychotherapy |
|||
25 radiotherapy |
|||
26 southeastern |
|||
27 southernmost |
|||
28 theoretician |
|||
29 weatherbeaten |
|||
30 weatherproof |
|||
31 weatherstrip |
|||
32 weatherstripping</pre> |
|||
=={{header|Objeck}}== |
=={{header|Objeck}}== |