I have two strings containing lines of information. I want to obtain the lines that are different in the two strings. Example: String1:
"This is line1
This is line2
This is line3"
String2:
"This is line1
This is linex
This is line2"
Result expected:
diff string1 string2 is:
"This is line3"
diff string2 string1 is:
"This is linex"