Words containing "the" substring: Difference between revisions

m
→‎{{header|Phix}}: use GT_LF_STRIPPED
m (→‎{{header|Phix}}: use GT_LF_STRIPPED)
Line 349:
=={{header|Phix}}==
<lang Phix>function the(string word) return length(word)>11 and match("the",word) end function
sequence words = filter(split_any(get_text("demo/unixdict.txt")," \r\n"GT_LF_STRIPPED),the)
printf(1,"found %d 'the' words:\n%s\n",{length(words),join(shorten(words,"",3),", ")})</lang>
{{out}}
7,820

edits