|
Posted by John Nichel on 04/01/05 01:31
Nick Zukin wrote:
> Will do. The only funky workaround I've found so far is just pasting the
> character into a str_replace. It appears as a little unknown character box
> in both EditPlus and Dreamweaver. What's funny, though, is that if I try to
> paste it as part of the line here in Outlook 2000 like this:
>
> $mystring = str_replace("
> ", ", ", $mystring);
>
> It breaks the line up, apparently creating a carriage return. Ugh. I'd
> sure like to find a less hacky way to do it. I've done a lot of googling
> and haven't found anything yet.
Yeah, that sounds like what I went thru...'cept on my end, I didn't have
to match the character, I had to create it...which is what the chr(29)
made. Have you tried setting the character to a variable, before doing
the string replace?
$funky = chr(29);
$mystring = str_replace ( $funky, ", ", $mystring );
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com
Navigation:
[Reply to this message]
|