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
  • 1495
  • 757

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.

Voters For This Link (10)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax