How to show difference between two strings?
- by awais
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"