How can I break this string apart:

Target Present|Yes|Unit Replaced|Yes|Unit Replaced|No|Comment|Wet

So I get:

Target Present: Yes
Unit Replaced: No
Comment: Wet

...which is basically replacing every other "|" with different thing.....

OK, something like:            
#REPLACE(PDWBD.DynamicQuestions,'|','<br>')#
using "MOD", right?  But, how to get a colon for the first one, ",br" 
for the second, colon again.....the syntax eludes me at the moment....

....and maybe count the rows at the same time so I could number them?

1. Target Present: Yes
2. Unit Replaced: No
3. Comment: Wet


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137976
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Reply via email to