Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

rearranging a string.new

by drock (Beadle)
on Nov 21, 2005 at 19:14 UTC ( [id://510526]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $string = '20050516';
    
  2. or download this
    my $newstring = substr($string,0,8).substr($string,0,4).substr($string
    +,8,0);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-26 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found