Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: rearranging a string.new

by ptum (Priest)
on Nov 21, 2005 at 19:20 UTC ( #510530=note: print w/replies, xml ) Need Help??


in reply to rearranging a string.new

You may want something more like:
my $newstring = substr($string,4,2) . substr($string,6,2) . substr($st +ring,0,4);
No good deed ever goes unpunished. -- (attributed to) Oscar Wilde

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2023-09-24 00:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?