Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: replacing carriage return line feed usinf chr()

by hv (Prior)
on Mar 14, 2003 at 14:33 UTC ( [id://243056]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $a =~ s/\x0d\x0a/' + Chr(13) + Chr(10) + '/;
    
  2. or download this
      $a =~ s/\r\n/' + Chr(13) + Chr(10) + '/;
    
  3. or download this
      $a =~ s/\r\n/' + Chr(13) + Chr(10) + '/g;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://243056]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2024-04-19 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found