Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: (jeffa) Re: Wordwrap text

by bastard (Hermit)
on Jul 27, 2001 at 02:13 UTC ( [id://100170]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #example 1
    $content =~ s/(.{1,$width}) /$1<BR>/g;
    print $content;
    
  2. or download this
    #example 2
    $content =~ s/(.{1,$width}) |([^ ]{$width})/$1$2<BR>/g;
    print $content;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-18 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found