in reply to Insert Space between names
One solution:
my $string = "JohnDoe"; $string =~ s/(.)([A-Z])/$1 $2/g; print $string;
In Section
Seekers of Perl Wisdom
in reply to Insert Space between names
One solution:
my $string = "JohnDoe"; $string =~ s/(.)([A-Z])/$1 $2/g; print $string;