I have several input boxes and want to send the text of the input boxes to a Paragraph Object. I have used the code below.
content =(strButter.."\r\n"..strEggs.."\r\n"..strCheese.." \r\n"..strYoghurt.."\r\n"..strCream.."\r\n"..strMi lk);
Paragraph.SetText ("Paragraph1", content);
The problem is that I do not want empty inputs being sent so I dont get empty lines in the paragraph as the example below.Can I do this? I have searched but cannot find an answer to this.
ie.
Eggs
Cheese
Yoghurt
Milk

Reply With Quote



