RosettaCodeData/Task/Collections/OoRexx/collections-8.rexx
2017-09-25 22:28:19 +02:00

7 lines
181 B
Rexx

s = .set~new
text = "the quick brown fox jumped over the lazy dog"
do word over text~makearray(' ')
s~put(word)
end
say "text has" text~words", but only" s~items "unique words"