Thanks Felix,
This is exactly what I was looking for!
Paul
>From: Felix Geerinckx <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Concatenating names from form
>Date: 4 Jul 2002 10:37:33 -
>
>on Wed, 03 Jul 2002 23:48:37 GMT, Paul Arsenault wrote:
>
>
on Wed, 03 Jul 2002 23:48:37 GMT, Paul Arsenault wrote:
> I can do everything except isolate the first
> initial in the first name. Anyone know of an easy way to do this
my $firstname = 'Paul';
my $initial = substr($firstname, 0, 1);
See
perldoc -f substr
--
felix
--
To unsubscrib
So what's your input ? and you's your supposed output ?
regards,
Connie in sick >_<
- Original Message -
From: "Paul Arsenault" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 04, 2002 7:48 AM
Subject: Concatenating names from
I want to be able to read in names from a web-based form and then take the
first initial from the first name and concatenate it with the whole last
name. I can do everything except isolate the first initial in the first
name. Anyone know of an easy way to do this with a regex or reading the
name