I have the following 2 strings :
orignal string
$orignal_string="Hello world!";
edited string :
$edited_string="Hello Ladies!";
How can I find the diffrence between these two strings, and print the diffrence as Ladies for the given strings?
I am using strcmp() function, but it returns diffrence in numbric value.
$orignal_string="Hello world!";
$edited_string="Hello Ladies!";
echo strp($orignal_string,$edited_string);
Is there any other way in php or regex to do this?