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

Re: How do I replace \t and regarding to the alignment requirement ?

by Utilitarian (Vicar)
on Apr 19, 2012 at 14:27 UTC ( [id://965983]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -Mstrict -we 'my $string="random\ttab\tseparated\twords";
    sub tab2space{my ($string,$spacing)=@_;
    ...
    print "\n", tab2space($string) , "\n";'
    0123456789012345678901234567890123456789012345678901234567890123456789
    +01234567890
    random    tab    separated    words
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2024-03-28 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found