| Diff.cfc (Beta) |
| # | line | # | line |
| 1 | <html> | 1 | <html> |
| 2 | <head><title>Text 2 </title></head> | 2 | <head><title>Text 1 </title></head> |
| 3 | <body> | 3 | <body> |
| 4 | Hello, my name is Shlomy Ganz, how are you doing? | 4 | Hello, my name is Inigo Montoya ,You killed my father. |
| 5 | <font color="#FF0000"> This text is in red </font> | 5 | <font color="#00FF00"> This text is in green </font> |
| 6 | I have more lines | . | |
| 7 | I have more lines | . | |
| 8 | </body> | 6 | </body> |
| 9 | </html> | 7 | </html> |
| Returns a line by line comparison of two strings (usually block text or code) |
| USAGE |
| Documentation |
| methods: | compareArray, compareLine, compareText, diffFormat |
| compareArray |
|---|
publicstruct
compareArray
(
arrayarg_aLeft="[runtime expression]",
arrayarg_aRight="[runtime expression]"
)
Output: supressed Parameters: arg_aLeft: array, optional, arg_aLeft arg_aRight: array, optional, arg_aRight |
| compareLine |
publicquery
compareLine
(
requiredstringtxt1,
requiredstringtxt2
)
Output: supressed Parameters: txt1: string, required, txt1 txt2: string, required, txt2 |
| compareText |
publicquery
compareText
(
requiredstringtxt1,
requiredstringtxt2
)
Output: supressed Parameters: txt1: string, required, txt1 txt2: string, required, txt2 |
| diffFormat |
publicstring
diffFormat
(
requiredstringtxt1,
requiredstringtxt2,
stringcolorSame="green",
stringcolorNotSame="red"
)
Output: enabled Parameters: txt1: string, required, txt1 txt2: string, required, txt2 colorSame: string, optional, colorSame colorNotSame: string, optional, colorNotSame |
| COMPATIBILITY |
| BUGS / FEATURE REQUESTS |
| EXAMPLE |
| DOWNLOAD |