Three things. You forgot to place the first list (the second function argument) within quotes. Secondly, with ReplaceList(), both the second and third arguments need to be lists with the same number of items. If you want to replace 12 different strings with the same thing, then you need to repeat it 12 times in the replacement list. Third, the function takes only three arguments; there's no scope as an optional fourth argument. Get rid of the "all". Adn be sure to remove that space before the ending #.
Jim ----- Original Message ----- From: "Jeff Fongemie" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 6:55 PM Subject: replace list???? > Friday, January 25, 2002, 8:53:10 PM > Hello CF-Talk, > > I'm attempting to use a replace function with cfhttp. The page I'm > getting is :<cfhttp url = "http://met-www.cit.cornell.edu/cgi-bin/fcst?NH004" > > method = "get"> > > > And I'm trying to remove a bunch of the top stuff using: > > <cfoutput> > #ReplaceList(cfhttp.fileContent,androscoggin-interior,waldo-kennebec-norther n,carroll-southern,carroll-southern,franklin-southern, > grafton-southern,oxford-southern,somerset,-including,the,cities,of,augusta,c onway,farmington,lebanon,lewiston,ossipee,rumford,skowhegan,unity, "<BR>", "All") # > </cfoutput> > > But, I keep getting an error! does not know what to do with > androscoggin? > > Can anyone see a mistake with my replace list?? > > > Best regards, > Jeff Fongemie mailto:[EMAIL PROTECTED] ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

