Character class>>separators "Answer a collection of the standard ASCII separator characters."
^ #(32 "space" 13 "cr" 9 "tab" 10 "line feed" 12 "form feed" 1 "text separator") collect: [:v | Character value: v] as: String
This seems simple and clear to me.
+1, just were stumbling upon this missing separator right now, too. See also: http://forum.world.st/ENH-isSeparator-tp5129517.html :-)
Hm, why don't we have #separators depend on #isSeparator and use a cache? It should not be slower but we would save some duplication ...
Best, Christoph