RE: replace carriage returns

2007-08-24 Thread Robert Harrison
How would I replace the carriage returns in a textarea entry with br? cfset newstring='#REREPLACE(#REREPLACE(#Trim(form.mystring)#,quot;,,all )#,#chr(13)#,br,all)#' This will do carriage returns and quotes to you can pass the data around in forms. Keep in mind, however, if you stick br into a DB

RE: replace carriage returns

2007-08-24 Thread Matthew Smith
Thank you, Robert. Exactly what I needed. -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 11:42 AM To: CF-Talk Subject: RE: replace carriage returns How would I replace the carriage returns in a textarea entry with br? cfset newstring

Re: replace carriage returns

2007-08-24 Thread Charlie Griefer
, Robert. Exactly what I needed. -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 11:42 AM To: CF-Talk Subject: RE: replace carriage returns How would I replace the carriage returns in a textarea entry with br? cfset newstring

RE: replace carriage returns

2007-08-24 Thread Matthew Smith
! -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 11:42 AM To: CF-Talk Subject: RE: replace carriage returns How would I replace the carriage returns in a textarea entry with br? cfset newstring='#REREPLACE(#REREPLACE(#Trim(form.mystring)#,quot;,, all

RE: replace carriage returns

2007-08-24 Thread Robert Harrison
and also God kills a kitty every time you overuse pound signs :) E. Man, I knew there was a reason I worked so hard to get those # signs out of my glossary link. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T :

RE: replace carriage returns

2007-08-24 Thread Robert Harrison
How would I ignore inserting carriage returns is the carriage return comes after a ul, li, /li, or /ul? If you're letting them enter HTML code, make them enter HTML with their own p tags and br /'s. Either you control it or they write html. It would be a nightmare to mix the two. Robert B.

Re: replace carriage returns

2007-08-24 Thread Crow T. Robot
: replace carriage returns How would I replace the carriage returns in a textarea entry with br? cfset newstring='#REREPLACE(#REREPLACE(#Trim(form.mystring)#,quot;,, all )#,#chr(13)#,br,all)#' This will do carriage returns and quotes to you can pass the data around in forms. Keep in mind

RE: replace carriage returns

2007-08-24 Thread Brad Wood
You missed one. Wouldn't want to doom any kitten today :) rereplace(rereplace(trim(form.mystring),quot;,,all),chr(13),b r,all) -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 12:00 PM To: CF-Talk Subject: Re: replace carriage returns