Socialmetrica/Socialmetrica.package/Tweet.class/instance/words.st

5 lines
182 B
Smalltalk
Raw Permalink Normal View History

utilities
words
2022-04-05 21:39:07 +00:00
| rawWords |
rawWords := self textPreview splitOn: Character space.
^ rawWords := rawWords collect: [ :word | word trimmed copyWithoutAll: #($. $, $" $“ $”) ]