RE: [PHP] determine which string is longer and then what is different in that string

2007-08-26 Thread Sanjeev N
Hi Richard, I am trying to get your actual problem. First, you want to compare 2 strings and want to check what the difference between these 2 strings is. I assuming string may contain either numbers or any characters. Second, you are trying to compare the numbers. But I am thinking that your

Re: [PHP] determine which string is longer and then what is different in that string

2007-08-26 Thread Richard Lynch
On Sun, August 26, 2007 1:11 am, 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