I have 2 strings that I’d like to compare, and return the positions of the different characters in the second string.
For example, if I have
'The brown fox jumps over the lazy dog''The quick brown fox jumped over the lazy dog'
I want it to highlight ‘quick’ and ‘ed’. What’s the best way to go about this in PHP?
This might do the trick:
PHP Inline Diff
Text_Diff