in reply to Increment a string with letters and numbers
$ perl -le'$_ = "EVO:0000023"; print; substr( $_, -7 )++; print' EVO:0000023 EVO:0000024
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Increment a string with letters and numbers
by mrguy123 (Hermit) on Mar 28, 2013 at 09:01 UTC |