my $foo = "Hello WorldFoo BarPerl MonksSlash Dot"; print "$_ \n" for ($foo =~ /([A-Z][a-z]+)/g); __OUTPUT__ Hello World Foo Bar Perl Monks Slash Dot
In reply to Re: Split without removing characters
by djohnston
in thread Split without removing characters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |