Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: rearranging a string.new

by ptum (Priest)
on Nov 21, 2005 at 19:20 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2025-07-19 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.