characters (CR/LF). It should be one of the following:
<cfset Commentary = replace(Commentary,"|. ","|. " & chr(13) & chr(10),
"ALL")>
<cfset Commentary = replace(Commentary,"|. ","|. #chr(13)##chr(10)#",
"ALL")>
Pascal
> -----Original Message-----
> From: Parker, Kevin [mailto:[EMAIL PROTECTED]
> Sent: donderdag 25 maart 2004 2:46
> To: CF-Talk
> Subject: replace
>
> It may be the way I'm applying this.
>
> I'm just making a tweak to a love job I did for The Salvos.
> One of the databases we converted for this did not bring over
> the CR's and LF's between paragraphs in one of the fields.
> Rather than getting someone to edit every record I'm trying
> to deal with this programmatically.
>
> I have identified the place to insert the CR LF as bits like
> this "#2Th 3:10|. " regularly appear through the text, albeit
> the numbers are different, but the "|. " is a reliable
> indicator of where the paragraph break should be, however,
> the app does not want to recognise the CR and LF.
> Its not clear to me if replace will insert ASCII characters or not.
>
>
> <cfset Commentary = replace(Commentary,"|. ","|. & chr(13) &
> chr(10)", "ALL")>
>
> TIA!!!
>
> +++++++++++++++++++
> Kevin Parker
> Web Services Manager
> WorkCover Corporation
>
> p: 08 8233 2548
> e: [EMAIL PROTECTED]
> w: www.workcover.com
> +++++++++++++++++++
>
> **************************************************************
> **********
> This e-mail is intended for the use of the addressee only. It
> may contain information that is protected by legislated
> confidentiality and/or is legally privileged. If you are not
> the intended recipient you are prohibited from disseminating,
> distributing or copying this e-mail.
>
> Any opinion expressed in this e-mail may not necessarily be
> that of the WorkCover Corporation of South Australia.
> Although precautions have been taken, the sender cannot
> warrant that this e-mail or any files transmitted with it are
> free of viruses or any other defect.
>
> If you have received this e-mail in error, please notify the
> sender immediately by return e-mail and destroy the original
> e-mail and any copies.
> **************************************************************
> **********
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

