Re: [PHP] can't get any string replacements to clean this

2003-03-14 Thread Ernest E Vogelsinger
Correction - "$to" should of course read "$repl" :-& -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] can't get any string replacements to clean this

2003-03-14 Thread Ernest E Vogelsinger
At 08:43 14.03.2003, Dennis Gearon said: [snip] >I finally got something to do it, at least, in inline code. > >I couldn't figure out how to remove NULLS, anybody know? A search on: [snip] I just found this thread, pa

Re: [PHP] can't get any string replacements to clean this

2003-03-13 Thread Dennis Gearon
I finally got something to do it, at least, in inline code. I couldn't figure out how to remove NULLS, anybody know? A search on: http://marc.theaimsgroup.com/?l=php-general&r=1&w=2 didn't turn anything up. // // WORKIN

RE: [PHP] can't get any string replacements to clean this

2003-03-13 Thread Niklas Lampén
What are you trying to get out of that mess? What should the output look like? Niklas -Original Message- From: Dennis Gearon [mailto:[EMAIL PROTECTED] Sent: 14. maaliskuuta 2003 7:51 To: [EMAIL PROTECTED] Subject: [PHP] can't get any string replacements to clean this All i get out of

Re: [PHP] can't get any string replacements to clean this

2003-03-13 Thread Dennis Gearon
ooops, after many hours on this, I had deleted out the final echo statement. I will play with this and see what I get now. \nuncleaned string--\n"); echo($bad_str . "\nn" ); echo( "\ncleaned string--

Re: [PHP] can't get any string replacements to clean this

2003-03-13 Thread Dennis Gearon
makes no difference .. - Put the arguments inside of double quotes instead of single quotes and then try it. $bad_str = str_replace("\r","\n",$bad_str); - Original Message - From: "Dennis Gearon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 200

Re: [PHP] can't get any string replacements to clean this

2003-03-13 Thread Joe Goff
Put the arguments inside of double quotes instead of single quotes and then try it. $bad_str = str_replace("\r","\n",$bad_str); - Original Message - From: "Dennis Gearon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 11:51 PM Subject: [PHP] can't get any string