Collect all word from the text

General TRichView support forum. Please post your questions here
Post Reply
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Collect all word from the text

Post 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
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post by alexandreq »

Yeah, Thanks
Post Reply