Anonymous user
Words containing "the" substring: Difference between revisions
→{{header|Smalltalk}}: misunderstanding in the problem statement
(→{{header|Smalltalk}}: changed because the problem statement wasn't clear, but the discussions seems to imply that (sigh)) |
(→{{header|Smalltalk}}: misunderstanding in the problem statement) |
||
Line 668:
=={{header|Smalltalk}}==
{{works with|Smalltalk/X}}
<lang smalltalk>d := 'unixdict.txt' asFilename contents asSet.
page := 'https://www.rosettacode.org/wiki/Words_containing_%22the%22_substring' asURL retrieveContents.
page asCollectionOfWords
select:[:word | (word size > 11) and:[word includesString:'the' caseSensitive:trueOrFalseWhoKnows]]
thenDo:#transcribeCR</lang>
=={{header|Wren}}==
|