Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
And the result is obviously not what I want, given that is removing the last letter and the initial. How do I accomplish the split w/o removing the letters? Thanks.my $foo = "Hello WorldFoo BarPerl MonksSlash Dot"; for ($foo) { for (split /[a-z][A-Z]/) { print "$_ \n"; } }
Retitled by davido from 'regex'.
|
|---|