Re: Turning a Text Sequence into a Sequence Array
- Posted by DanM Jul 14, 2010
- 3267 views
Kaladan said...
Okay, thanks! I've always been wary of betas, but I'll give it a go! Thank you very much!
And, as far as I can tell, Kat's strtok.e seems to work pretty well with 3.11, here's a simple test, which DOES include an EXTRA SPACE between a couple of words:
include strtok-v2-1.e include get.e include misc.e object NULL sequence t, r t = "this is a test sentence with one extra space." r = parse(t, ' ') pretty_print(1, r, {3}) NULL = wait_key()
And here's the output: { "this", "is", "a", "test", "sentence", "with", "one", "extra", "space." }
Pretty simple, no?
Dan M.