Re: Turning a Text Sequence into a Sequence Array
- Posted by sergelli Jul 11, 2010
- 3506 views
tested, work fine.
sequence res,sentence sentence="This is only theoretically a sentence." res={} while 1=1 do if not find(32,sentence) then res&={sentence} exit end if res&={sentence[1..find(32,sentence)]} sentence=sentence[find(32,sentence)+1..length(sentence)] end while