If everything is in a string then you could go through line by line and put the lines that have something in them into another variable. You might actually not need the second variable to store the string if you use DeleteLine() to delete empty lines and adjust the loop index each time you remove one.
srhee wrote: > > I want the subjects see only the items they responded to. I set the initial > value of the variables be "" (blank). If they responded to the item, the > variable shows the actual response and otherwise the area is blank. > > The problem is, since there are many items, the variables with no response > should be removed and only the responded items should be shown on the screen. > I don't want all the blank spaces in between the lines. > > How do I do this? Any suggestions? > > Thanks. > > -- > The AWARE List > http://www.e-media.nl/aware/index.html > > Search the Archives > http://www.e-media.nl/aware/search.html > > Netiquette: > - Use descriptive subject fields > - Use subject prefixes (A5 , A5Mac , A5Web , KO , UCD , OT) > > >
-- Grace Daminato
Macromedia Evangelist
Interaxys New Media voice: 905.542.2404 e-mail: grace@interaxys.com
-- The AWARE List http://www.e-media.nl/aware/index.html
Search the Archives http://www.e-media.nl/aware/search.html
Netiquette: - Use descriptive subject fields - Use subject prefixes (A5 , A5Mac , A5Web , KO , UCD , OT)