in reply to Re: Search for a character in CAPS
in thread Search for a character in CAPS
produces: Per Beginne Perlmy $agent = 'PerlBeginnerPerl'; $agent =~ s/.([A-Z])/ $1/g; print $agent;
To make your approach work, you would need: $agent =~ s/(.)([A-Z])/$1 $2/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Search for a character in CAPS
by c_lhee (Novice) on Mar 08, 2002 at 09:18 UTC |