sumandas has asked for the wisdom of the Perl Monks concerning the following question:
I want to split the number part from string in windows strawbery perl
My code is
my @str=("MUXmh123","MUXho124"); foreach my $kplmr(@str) { my ($kplmrletter,$number) = split/\d/,$kplmr; my $strr=uc($kplmrletter)."-"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: checking particular part of string
by hippo (Archbishop) on Mar 07, 2014 at 12:12 UTC | |
by moritz (Cardinal) on Mar 07, 2014 at 12:17 UTC | |
|
Re: checking particular part of string
by kcott (Archbishop) on Mar 08, 2014 at 00:05 UTC | |
|
Re: checking particular part of string
by vinoth.ree (Monsignor) on Mar 07, 2014 at 13:35 UTC |