If you have a certain amount words in an array saved in a text file and would like too trancate the words to appear in a text box how would you do that. For example

the,cat,black
is, on, head
table,when ,love

how would you write the code so that the sentence
the cat is on the table ......to appear in a text box

thanks guys i know some can help