in reply to Re: Splitting on uppercase letters
in thread Splitting on uppercase letters
Not wanting to abandon antirice's efficient advice, I would suggest just doing this:
print map lc split/(?=[A-Z])/,"ThisString"; print map lc split/(?=[A-Z])/,"SomeOtherString"; __DATA__ output: this string some other string
Dave
"If I had my life to do over again, I'd be a plumber." -- Albert Einstein
|
|---|