I am trying to insert an RTF into an exiting RTF via ColdFusion with this code:
<cfset NewRTF = Replace(NewRTF, "@@NEWRTFNAME@@","#New_RTF_Name#","ALL")>
The Main RTF is layed out like
So I When I insert the RTF into the Original RTF, it looks like this:
· Inserted RTF Header Name
So instead of putting in after the 2.2 , it puts it above it.
Now if I get it to replace the variable and put after the 2.2 it screws up the number below it. Like the 3.1 would come 3.3.
So I was wondering if you anyone has ever done anything like this and if they could hive me a few tips or tell me what I am doing wrong?
Or if anyone has a link to a good reference?