Words containing "the" substring: Difference between revisions
→{{header|BCPL}}: fix off by one bug caused by also counting the newline
Not a robot (talk | contribs) (Add BCPL) |
Not a robot (talk | contribs) (→{{header|BCPL}}: fix off by one bug caused by also counting the newline) |
||
Line 384:
$)
// We need to test for a length of 12 rather than 11,
let match(word) = word%0 > 11 & contains(word,"the")▼
// because the newline character is included.
let start() be
Line 399 ⟶ 401:
{{out}}
<pre style='height:50ex;'>authenticate
chemotherapy
chrysanthemum
clothesbrush
clotheshorse
eratosthenes
featherbedding
featherbrain
featherweight
gaithersburg
hydrothermal
lighthearted
mathematician
neurasthenic
nevertheless
northeastern
northernmost
otherworldly
parasympathetic
physiotherapist
physiotherapy
Line 444 ⟶ 425:
psychotherapy
radiotherapy
southeastern
southernmost
theoretician
weatherbeaten
weatherproof
|