I have two different strings, result
and result1
. result
is a new value obtained from a website content without changing anything in website and it is stored in SQLite and later the website content will be changed and obtain the content and it will be saved in result1
. I want to compare these two string result
and result1
and find out which content is added newly. I want to show the new added content. Here I mentioned the code to check the result
and result1
values.
String[] items = result1.split(">");
for (String item : items)
{
Log.i("Result1", item);
}