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 #172338 is a reply to message #172337] Sun, 13 February 2011 13:48 Go to previous messageGo to previous message
sheldonlg is currently offline  sheldonlg
Messages: 166
Registered: September 2010
Karma:
Senior Member
On 2/13/2011 8:45 AM, Bill B wrote:
> On 2/13/2011 8:33 AM, The Natural Philosopher wrote:
>> As someone else pointed out tho, what about a single '\r'?
>
>
> That could be dispatched by starting with replacing '\r' with '\mydog',
> executing the sequence already described, then using replace to reverse
> '\mydog' to '\r'.
>
> Bill B

You know, this all seems rather academic. Getting back to the OP's
request, I have to ask "in what kind of string/file will one have both
\r and \r\n ?". ISTM that you will always have one or the other -- at
least in all strings/files that I have encountered thus far.

--
Shelly
[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:40:48 GMT 2024

Total time taken to generate the page: 0.04100 seconds