>
> 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")>
You didn't close the string before adding the Chr() functions
<cfset Commentary = replace(Commentary,"|. ","|." & chr(13) & chr(10),
"ALL")>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

