Re: Break up names

2007-05-14 Thread Jay Savage
On 5/11/07, Chas Owens <[EMAIL PROTECTED]> wrote: On 5/11/07, Tony Heal <[EMAIL PROTECTED]> wrote: > I have a list of names that I need to break up and reassemble. > > The list consists of the first name and last name combined as a single word in wiki format. i.e.JoeBlow > > I need to break this

Re: Break up names

2007-05-11 Thread Tom Phoenix
On 5/11/07, yitzle <[EMAIL PROTECTED]> wrote: my ($first,$last,$email,$wName) = (split /\s|\s/, $wikiname)[1..4]; I think you meant to write something like /\s+\|\s+/ for that pattern. Other than that, it was a nice try; except I believe you mistook the OP's sample output for input data. Chee

Re: Break up names

2007-05-11 Thread yitzle
Um... how about: my ($first,$last,$email,$wName) = (split /\s|\s/, $wikiname)[1..4]; On 5/11/07, Chas Owens <[EMAIL PROTECTED]> wrote: On 5/11/07, Tony Heal <[EMAIL PROTECTED]> wrote: > I have a list of names that I need to break up and reassemble. > > The list consists of the first name and l

Re: Break up names

2007-05-11 Thread Chas Owens
On 5/11/07, Tony Heal <[EMAIL PROTECTED]> wrote: I have a list of names that I need to break up and reassemble. The list consists of the first name and last name combined as a single word in wiki format. i.e.JoeBlow I need to break this up and recreate the list as | FirstName | LastName | Ema

Break up names

2007-05-11 Thread Tony Heal
I have a list of names that I need to break up and reassemble. The list consists of the first name and last name combined as a single word in wiki format. i.e.JoeBlow I need to break this up and recreate the list as | FirstName | LastName | Email | WikiName | i.e. | Joe | Blow