AH YES. Thank you! Jeff ----- Original Message ----- From: "Steve Oliver" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, January 26, 2002 11:25 AM Subject: RE: paragraph mark question
> Putting chr(13)chr(10) in quotes like that will search for a string that > matches that. > Plus you have your variable in quotes. > > You'll want to do something like: > > Replace(variables.edifile, "#chr(13)##chr(10)#", "*" , "ALL") > > > > ______________________ > steve oliver > cresco technologies, inc. > http://www.crescotech.com > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 26, 2002 12:12 PM > To: CF-Talk > Subject: Re: paragraph mark question > > > Yeah its a txt file. It comes in like this: > ISA*00* * * *0000068*0*P*> paragraphmark > GS*PO*blahb*blah paragraphmark > > I want to break the lines into "*" delimited segments. > I tried #ListFind( for Char(1) to Char(32) got 0. > And I tried #ListFind(variables.edifile, "char(13)char(10)" ,"*")# got > 0. > > What I get when I do this #ListGetAt(variables.edifile, 17, "*")# is "> > GS" > > Maybe if I try REReplace("variables.edifile", "char(13)char(10)", "*" , > all) > > Then #ListFind(variables.edifile, "GS" ,"*")# maybe I'll be able to find > GS:o)) > > Jeff > > ----- Original Message ----- > From: "Steve Oliver" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Saturday, January 26, 2002 10:12 AM > Subject: RE: paragraph mark question > > > > A paragraph mark? > > > > The only thing that signifies a new paragraph in a text file is a few > > carriage returns. > > > > You are talking about a .txt file right? > > > > My paragraph."Chr(13)Chr(10)" > > "Chr(13)Chr(10)" > > My next paragraph. > > > ______________________________________________________________________ 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

