Re: Compare Two Strings



Please let's keep the discussion in the newsgroup.

If you could post what you already have, I'm sure some people will
chime in with suggestions.

Twinkle wrote:

hi john
Actually i have to open word file in left side and html in
right side.for that i taken two strings one for left and another for
right.some word file Data will be existed in html file.suppose word
file in strFileName(it's string) and html file in strFileName(It's
another string) .if user Select some data in word file for compare and
click the compare button then if that data correct in html file then
it's ok .if data is not matching or some word missing in html file then
that word should be displayed by color change
that's it.
if u know about it then please help me because i have to submit on
monday.if u understood my prob then plz give me solution with code..if
u dont understand then give me u'r e-mail id i will send my tool to
you..then u can understand easily
plz help me u can contact me at my personal id it's mentioned below

Hemendra agrawal
Email ID: hemendraagrawal@xxxxxxxxx

John Duval wrote:
Twinkle wrote:
HI guys
i have two strings .in first string a word file is there
and the second string a html file is there.now i want to compare to
both string if some word missing in second string then it should be
highlight by color change.becaz it's a testing purpose tool

plz somebody help me.and send the code at my id
hemendraagrawal@xxxxxxxxx
it will be very appriciated
Thank's & Regards

Hi,
I don't understand exactly what you're asking. What do you mean by "if
some word missing in the second string"? It would really help if you
gave some example strings, with expected output.

John

.