in reply to Re^3: Newbie parsing problem
in thread Newbie parsing problem
great solutions, I have noticed that:
doesn't handle lastnames with hypens in them, any ideas? thanks again!my ($last, $first, $middle) = ($name =~ /(\w+)\W*?(\w+)\W*(\w)?/);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Newbie parsing problem
by mk. (Friar) on Jan 26, 2007 at 12:21 UTC | |
by rtremaine (Acolyte) on Jan 26, 2007 at 15:12 UTC |
In Section
Seekers of Perl Wisdom