F
flamencoman
Hi,
Can any one help:
I am trying to replace a strings uppercase letters with a space upper
case letter.
For example, given the string "GeneralPartsList", I want to get the
string " General Parts List".
I tried:
$mystring = "GeneralPartsList";
if($mystring =~ /[A-Z]/)
{
$mystring =~ s/[A-Z]/ [A-Z]/g;
}
but I got an empty string.
Thanks,
Flamencoman
Can any one help:
I am trying to replace a strings uppercase letters with a space upper
case letter.
For example, given the string "GeneralPartsList", I want to get the
string " General Parts List".
I tried:
$mystring = "GeneralPartsList";
if($mystring =~ /[A-Z]/)
{
$mystring =~ s/[A-Z]/ [A-Z]/g;
}
but I got an empty string.
Thanks,
Flamencoman