I have a formatted string that contains a description of an item (I'm using an extended RFT Editor then converting to HTML). I want to then insert that description into another field that contains HTML. I imagined using a placeholder of some sort in the HTML, but I'd be happy with another solution.
For example in pseudo html:
<MORE PAGE HTML>
The RTF formatted string will be converted to HTML, but the location of the insertion may change if I alter the HTML so using indexes etc is probably out.
The result will be a HTML template common to all records with placeholders, which is then used to build the display with the specific description embedded in the proper place for each record whe I upload to my website.
Any ideas on how to do this? I considered doing a straight find replace but wanted to know if there's a better way?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)