To display the ucommon text from two different rich text field(document) to one rich text field(document)

I have to compare two rich text document which has n lines of strings(text), and display the text which are not common both the document in to one rich text field Can any one help with the script

Thanks and Regards

Sruthi

Subject: RE: To display the ucommon text from two different rich text field(document) to one rich text field(document)

Since you’re just comparing text, it doesn’t seem to matter that these are rich text items – you can just ReadUnformattedText and process it a line at a time by searching for the line delimiter.

It’s not exactly clear what you mean by “not common to both documents”. Are you doing a “what changed” comparison where you would want to know that the same line appeared in a different place, or a “what’s new” to look for added lines, or do you want to find lines that were deleted also?

Subject: RE: To display the ucommon text from two different rich text field(document) to one rich text field(document)

Hi Andre

I want to compare both the text which are in two different document and display the text which are not commont in both the text document into a single text .

For ex if i have some string say "This is a test " in one documentand in another document say “This is not a text”

So i want the word not to be dispayed in the third document in an database

I hope now you would be clear with the requirement

Subject: RE: To display the ucommon text from two different rich text field(document) to one rich text field(document)

This sample database contains code that will do this sort of thing.

Subject: RE: To display the ucommon text from two different rich text field(document) to one rich text field(document)

Hi Andre

Thank u very much for the tool u have provided

I donot have a replication conflict document.

What i have is the two different document

Will this tool be useful for the two difernt document

Or how can i make the conflict document in the local,so that i can use the tool.

Please help me in sloving this issue

Thanks & Regards

Sruthi

Subject: RE: To display the ucommon text from two different rich text field(document) to one rich text field(document)

I realize you’re not talking about conflict documents, but there’s code in there to compare two documents, and more specifically to compare two rich text fields, and come up with a list of differences and common areas, which you can then iterate thru and display as you see fit.