Comparing two strings or objects and getting the difference back
问题 I would like to implement a type of version history on my website and I need a way of comparing strings or object keys. For example: Original string / object key: The quicker brown fox Revised string / object key: The quick brown fox jumped over the lazy rabbit Revision: added jumped over the lazy rabbit removed er I would like to save only the revision in my history table. I don't really know where to start, so any ideas how to get me going or advice on the approach would be really