--000e0cd209d07414af0462b73258
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

strTwo.split(strOne)[1].lstrip

But that's very specific.


On Thu, Feb 12, 2009 at 9:20 PM, Talib Hussain <talibhn / gmail.com> wrote:

> Experts,
>
> I have a requirement of comparing string and getting the difference out
>
> For Example :
>
> strOne  Hello, this is a test"
> strTwo  Hello, this is a test forum"
>
> This should result that word "forum" is extra.
>
> Any thoughts?
>
> Regards,
> Talib Hussain
> --
> Posted via http://www.ruby-forum.com/.
>
>


-- 
The UNIX system has a command, nice ... in order to be nice to the other
users. Nobody ever uses it." - Andrew S. Tanenbaum

--000e0cd209d07414af0462b73258--