Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by BrowserUk (Patriarch)
on Apr 19, 2012 at 14:06 UTC ( [id://965969]=note: print w/replies, xml ) Need Help??


in reply to How do I replace \t and regarding to the alignment requirement ?

Like this?

$s = "The\tquick\tbrown\tfox\tjumps\tover\tthe\tlazy\tdog";; print $s;; The quick brown fox jumps over the lazy dog ($t=$s); 1 while $t =~ s[(\t)]{ '.' x ( 8 - ( $-[0] % 8 ) ) }e; print $t;; The.....quick...brown...fox.....jumps...over....the.....lazy....dog

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re: How do I replace \t and regarding to the alignment requirement ?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-16 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found