Link Details

Sometimes it is necessary to show the differences between two text strings to view what changed between them. Read this article to learn how to find and view the differences between two strings in realtime on the browser using JavaScript or render the differences on the server side using PHP to not rely on JavaScript. The article also shows how to patch a string to obtain the changed string by using the list of differences between them.

Posted by mlemos  |   Jan 30 2014 / 07:23

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone