In article <[EMAIL PROTECTED]>, John W. Krahn wrote:
> Kevin Pfeiffer wrote:
>>
>> In article <[EMAIL PROTECTED]>, John W. Krahn wrote:
>>
>> > my $string1 = 'C:\Program files\directory1\directory2\directory3';
>> > my $string2 = 'C:\Program files\directory1\dir2\dir3';
>> >
>> > ( my $nulls = $
Kevin Pfeiffer wrote:
>
> In article <[EMAIL PROTECTED]>, John W. Krahn wrote:
>
> > my $string1 = 'C:\Program files\directory1\directory2\directory3';
> > my $string2 = 'C:\Program files\directory1\dir2\dir3';
> >
> > ( my $nulls = $string1 ^ $string2 ) =~ s/^(\0+).*/$1/s;
> >
> > ( my $string3
In article <[EMAIL PROTECTED]>, John W. Krahn wrote:
> Freddy söderlund wrote:
>>
>> Let me re-phrase my question a bit:
>>
>> I want to compare the two strings and I want to extract those chars that
>> are matching each other in the first and second string (in order from the
>> beginning), and
Freddy söderlund wrote:
>
> Let me re-phrase my question a bit:
>
> I want to compare the two strings and I want to extract those chars that are
> matching each other in the first and second string (in order from the
> beginning), and put them in a new string (not array as I mistakenly said
> ear
- Original Message -
From: "Rob Anderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 04, 2003 4:50 PM
Subject: Re: Extracting equal entities from two different sized arrays?
>
> ""Freddy söderlund"" <[EMAIL P
On Thursday, September 4, 2003, at 09:28 AM, Freddy Söderlund wrote:
Another example on just how *stuck* I was! You're right ofcourse and I
were
wrong when typing my example.
It's really two strings: $string1 and $string2.
Let me re-phrase my question a bit:
I want to compare the two strings a
""Freddy söderlund"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> - Original Message -
> From: "Rob Anderson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, September 04, 2003 3:30 PM
>
- Original Message -
From: "Rob Anderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 04, 2003 3:30 PM
Subject: Re: Extracting equal entities from two different sized arrays?
>
> >""Freddy söderlund"" &
>""Freddy söderlund"" <[EMAIL PROTECTED]> wrote in
> message news:[EMAIL PROTECTED]
>Hi!
>
Hi
>I have stuck my thoughts on this one, maybee someone can help me out?
>
>I have two arrays
>
>@array1 = "C:\Program files\directory1\directory2\directory3";
>@array2 = "C:\Program files\directory1\dir2
Hi!
I have stuck my thoughts on this one, maybee someone can help me out?
I have two arrays
@array1 = "C:\Program files\directory1\directory2\directory3";
@array2 = "C:\Program files\directory1\dir2\dir3";
What I want to do is, compare the arrays, one char at a time, from the beginning and
sto
10 matches
Mail list logo