Chr(13) is Carriage Return Chr(10) is Line Feed If a file is written with most text editors, then you'll get Chr(13)+Chr(10)
Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** > -----Original Message----- > From: Tony Weeg [mailto:[EMAIL PROTECTED]] > Sent: 24 June 2002 18:08 > To: CF-Talk > Subject: carriage returns in RegExpr's > > > does anyone know how to code a carriage return in Reg Expressions? > > I have a file that is written using cffile, and when I read > the contents > of that > file into a variable, the value of that variable will show up at the > end, with > a carriage return. which is, in turn throwing of a list > matching up with > another > list. with a reReplace() I can get rid of this, knowing the > value of a > carriage return > in a Regular Expression. > > anyone? > > ..tony > > Tony Weeg > Senior Web Developer > Information System Design > Navtrak, Inc. > Fleet Management Solutions > www.navtrak.net > 410.548.2337 > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. 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

