RosettaCodeData/Task/Collections/OoRexx/collections-8.rexx
2023-07-01 13:44:08 -04: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"