Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Increment a string with letters and numbers

by jwkrahn (Monsignor)
on Mar 28, 2013 at 08:56 UTC ( #1025906=note: print w/ replies, xml ) Need Help??


in reply to Increment a string with letters and numbers

$ perl -le'$_ = "EVO:0000023"; print; substr( $_, -7 )++; print' EVO:0000023 EVO:0000024


Comment on Re: Increment a string with letters and numbers
Download Code
Re^2: Increment a string with letters and numbers
by mrguy123 (Hermit) on Mar 28, 2013 at 09:01 UTC
    Nicely done :)
    Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-08-22 03:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (146 votes), past polls