Page 1 of 1

Collect all word from the text

Posted: Wed Apr 18, 2012 1:09 am
by alexandreq
Hello Sergey,

How can I load a stringList with all words from my text?

Is there any function where I can pass the stringList and it returns me all words from my text?

Thanks
Alex

Posted: Wed Apr 18, 2012 8:16 am
by Sergey Tkachenko
You can use GetAllText function from RVGetText unit (RVGetTextW if you need unicode text).
You receive all text in a string. Then you can extract words from this string and add to stringlist.

Posted: Wed Apr 18, 2012 11:33 am
by alexandreq
Yeah, Thanks