Simple string diff

Sample output
Package:
Simple string diff
Summary:
Compare two strings and return changed lines
Groups:
PHP 5, Text processing
Author:
Artur Graniszewski
Description:
This class can be used to compare two strings and return the changed lines.

It takes two strings and split them into arrays of lines.

The class can compare the two arrays of lines and return a new text string denoting with + and - the lines that were added and removed from the first to the second string.


Powered by Gewgley