Đã hoàn thành

137207 C# based string comparison

Essentially I need a function written in C# that will compare two html strings and return a third string containing a Wikipedia like two column view that shows the difference between the strings. So basically the function would?

Step 1: Take in the two strings to be compared

Step 2: Strip any bold tags from the strings

Step 3: Compare the strings and determine the differences

Step 4: Build a string to be returned that contains a two column html page displaying the difference (see return string details below)

Step 5: Return that string

On the returned string, I basically want it to mirror Wikipedia's functionality as closely as possible but I'm using css so I'd like to use custom tags. Ideally I'd like the function to take each change, grab the paragraph the change takes place in as well as the paragraphs immediately before and after. Then tag the paragraphs without changes with a "unchangedtext" tag while the text that has been changed would be tagged with a "prechangetext" and "postchangetext" respectively (see attached diagram). I'd like the actual text changes to be highlighted in bold.

I'd also like it to list the line number that the changes occur on (as shown)

I know this description probably isn't as clear as it could be but please feel free to post any questions.


Kĩ năng: .NET, Bất kì công việc gì, ASP, CSS

Xem nhiều hơn: wikipedia post-it, to string, text to string, string the, string i, string 2, m string, i need a wikipedia page, has been changed, functionality diagram, clear a string in c, 3 line diagram, c++ based, html based text, net paragraph, string html, css grab, custom view asp, html wikipedia, need comparison, wikipedia text html, string compare, mirror page asp, line diagram, css changes net

Về Bên Thuê:
( 10 nhận xét ) La Verne, United States

ID dự án: #1883381

Được trao cho:


Please check PMB

$200 USD trong 7 ngày
(2 Đánh Giá)