How to show difference between two strings?

Posted by awais on Stack Overflow See other posts from Stack Overflow or by awais
Published on 2010-05-29T17:01:10Z Indexed on 2010/05/29 17:22 UTC
Read the original article Hit count: 143

Filed under:

input:

string1="this is a joke.this is not life.";
string2="this is not a joke. this is life.";

by comparing string1&string 2 we found output:

pos8 deleted 4 chars " not"
pos28 inserted 4 chars " not"

© Stack Overflow or respective owner

Related posts about c#3.0