FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How do I do this search and replace?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How do I do this search and replace? [message #172311 is a reply to message #172305] Sun, 13 February 2011 00:58 Go to previous messageGo to previous message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma:
Senior Member
On Sat, 12 Feb 2011 18:59:09 -0500, sheldonlg wrote:

> On 2/12/2011 5:09 PM, Evan Platt wrote:
>> On Sat, 12 Feb 2011 14:20:16 -0700, richard<member(at)newsguy(dot)com>
>> wrote:
>>
>>> 1) replace all "\r\n" with "\n"
>>> 2) replace all "\n" wtih "\r\n"
>>
>> Just when I think you can't say anything dumber, you open your mouth
>> and prove me wrong.
>
> Huh? Why did you say that? It seemed perfectly reasonable to me! You
> don't have any "\r" all by itself in the string, so replacing all "\r\n"
> gets rid of all "\r". Then converting all the "\n" to "\r\n" results in
> what the OP was asking for. Of course, it is just as easy to first
> convert all the "\r" to "", but what he presented made sense.
>
> Why do you think this is "dumb" -- or is it just more of your "thing"
> against Richard?

He mouthed off to me simply to be mouthing off. It makes no difference if I
am right or wrong. "It is the nature of the beast!".
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Curious problem
Next Topic: Hot Sameera Hot Cleavage show - Download
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 10:37:49 GMT 2024

Total time taken to generate the page: 0.03846 seconds