good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Splitting on uppercase lettersby ajdelore (Pilgrim) |
on Sep 09, 2003 at 22:20 UTC ( [id://290194]=note: print w/replies, xml ) | Need Help?? |
Updated: This solution is pretty lame, and also fails the test case pointed out by Anonymous Monk. Use antirice's solution. Well, I really doubt that this is the nicest way, but it does use split. (Mind you, it needs a regex substitution first...)
</ajdelore>
In Section
Seekers of Perl Wisdom
|
|