D
dao
Hi, I am kina a perl-newbie and have both the learning perl book an the
programming perl book, but can't find the information I'm looking for
in either of them. What I need to do is as follows:
I have a string: AaaSmmmRiiiW
And I need to recognize te capital letters and turn the string into the
following: Aaa Smmm Riii W
Basically, every Capital needs to be preceeded by a space. I can't
figure out how to do it in perl.
I lloked at the FAQ at perl.org and came up empty there as well. I know
it can be done, I just can't figure it out.
Any help appreciated.
Thanks, Jack
programming perl book, but can't find the information I'm looking for
in either of them. What I need to do is as follows:
I have a string: AaaSmmmRiiiW
And I need to recognize te capital letters and turn the string into the
following: Aaa Smmm Riii W
Basically, every Capital needs to be preceeded by a space. I can't
figure out how to do it in perl.
I lloked at the FAQ at perl.org and came up empty there as well. I know
it can be done, I just can't figure it out.
Any help appreciated.
Thanks, Jack