CFFILE replace text

2000-05-26 Thread Grady Milhon
I have a plain text file that has a link listed on one line and title on the next. I want to replace a certain section with a variable using CFFILE. Here is what I have. I am not sure how to find the string and replace it. Here is an example of the text file ticker.txt:

RE: CFFILE replace text

2000-05-26 Thread john rice
Here is a start (I am assuming a few things here) !--- find what --- cfset findtxt = "Last Network Outage" !--- the newoutage --- cfset newoutage = "Last Network Outage at Rice:30" !--- a mock of your file contents --- cfset outages="http://sahdsvr1.alltel.com/outages/ Last Network Outage at