danhky17 0 Newbie Poster

I am currently trying to immitate the attached executable file i have got the word count to work and everything else all to work except for the "Next Word." When i click on "Next Word" it should count the number words and place the first word of the sentence in the "first word" label and the rest of the sentence in the "rest of sentence" box. Upon another click of "next word" button it should take the next word in the "rest of sentence" box and place it in the "first word" box this should repeat upon each click of the "next word" button until there are no words in the sentence left. any help would so very much appreciated.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.