htmanning has asked for the wisdom of the Perl Monks concerning the following question:
I want to end up with$contact="Firstname Lastname";
And what about if someone has an initial in there like this:$contact = "Mr. Lastname";
I know how to strip out words I know, but going through a list of 10,000 names I have to somehow determine the names based on the space. Thanks.$contact = "G. First Last";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strip first name from string
by toolic (Bishop) on Jan 29, 2014 at 00:52 UTC | |
by Skeeve (Parson) on Jan 29, 2014 at 07:35 UTC | |
|
Re: Strip first name from string
by AnomalousMonk (Archbishop) on Jan 29, 2014 at 01:01 UTC | |
by htmanning (Friar) on Jan 29, 2014 at 01:15 UTC | |
by 2teez (Vicar) on Jan 29, 2014 at 07:58 UTC | |
by hippo (Archbishop) on Jan 29, 2014 at 09:17 UTC | |
by Anonymous Monk on Jan 29, 2014 at 09:37 UTC | |
by 2teez (Vicar) on Jan 29, 2014 at 11:51 UTC | |
|
Re: Strip first name from string (parse name first last stemming)
by Anonymous Monk on Jan 29, 2014 at 01:00 UTC | |
|
Re: Strip first name from string
by vinoth.ree (Monsignor) on Jan 29, 2014 at 07:13 UTC | |
by hdb (Monsignor) on Jan 29, 2014 at 07:29 UTC |