Link Details

Link 1104095 thumbnail
User 206746 avatar

By mlemos
via jsclasses.org
Published: Jan 30 2014 / 07:23

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.
  • 10
  • 0
  • 1523
  • 761

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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java