I deally I want to split a paragraph, but im gonna start off small and split a sentence into words. After this, i want to associate each of the words to that sentence so i could later on say hover over it and i would know the original sentence it came from or somethin like that.
so i have used:
string [] words = s.Split(' ');
with s being the sentence. How do I then put each of these words into an element in the arraylist? and then associate it to the sentence s. As in how do i put both parts into one elemnt in the arraylist.
Then later how do i extract this, so say if i highlight a word and do some event it will tell me where this word came from
Thanks for any advice.
so i have used:
string [] words = s.Split(' ');
with s being the sentence. How do I then put each of these words into an element in the arraylist? and then associate it to the sentence s. As in how do i put both parts into one elemnt in the arraylist.
Then later how do i extract this, so say if i highlight a word and do some event it will tell me where this word came from
Thanks for any advice.