Very thanks Jeff and Wiggins, this work perfectly!
Regards,
Ricardo Pichler
- Original Message -
From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]>
To: "Ricardo Pichler" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, November 14,
On Nov 13, Ricardo Pichler said:
>I need replace in my string the characters in
>upperCase for the same but preceding the simbol +.
>
>$myName="RicardoPichler";
>s/.../.../g; # to do this return "+Ricardo+Pichler";
>
>$myName=~s/[A-Z]/\+[A-Z]/g;
You can't use a regex on the right-hand side of a s
Ricardo Pichler wrote:
Hi...
I need replace in my string the characters in
upperCase for the same but preceding the simbol +.
Ex.:
$myName="RicardoPichler";
s/.../.../g; # to do this return "+Ricardo+Pichler";
but like this:
$myName=~s/[A-Z]/\+[A-Z]/g;
but this don´t work.
You are attempting to use
Hi...
I need replace in my string the characters in
upperCase for the same but preceding the simbol +.
Ex.:
$myName="RicardoPichler";
s/.../.../g; # to do this return "+Ricardo+Pichler";
but like this:
$myName=~s/[A-Z]/\+[A-Z]/g;
but this don´t work.
Can anyone help-me?
Thanks in advance!
Regar