On Sun, August 26, 2007 8:00 pm, Richard Kurth wrote:
>> >I am trying to find out which string is the longest and then
>> find out
>> >what is different between the two string. Sometimes String 2
>> is longer
>> >than String 1 The script below works sometimes but not all the
>> time.
>> >Is there a
At 6:00 PM -0700 8/26/07, Richard Kurth wrote:
>I am trying to find out which string is the longest and then
find out
>what is different between the two string. Sometimes String 2
is longer
>than String 1 The script below works sometimes but not all the time.
>Is there a better way to d
>
> >I am trying to find out which string is the longest and then
> find out
> >what is different between the two string. Sometimes String 2
> is longer
> >than String 1 The script below works sometimes but not all the time.
> >Is there a better way to do this or tell me what is wrong with t
At 11:11 PM -0700 8/25/07, Richard Kurth wrote:
I am trying to find out which string is the longest and then find out what
is different between the two string. Sometimes String 2 is longer than
String 1 The script below works sometimes but not all the time.
Is there a better way to do this or te
Okay, why not try somthing like this:
$string1 = "1,2,3,4,5,6,7,8";
$string2 = "2,4,6,8,10";
$ary1 = implode(",",$string1);
$ary2 = implode(",",$string2);
$num1 = '';
$num2 = '';
foreach($ary1 as $num){
$num1 .= $num;
}
foreach($ary2 as $num){
$num2 .= $num;
}
that would get the strings
5 matches
Mail list logo