Has anyone written a DIFF like string function..

J

jereviscious

Very simply, I need to have a function that will return the difference
between two similar strings..

example1:

DIFF("NEVER AGAIN", "NEVER AGAIN FOREVER") will return "FOREVER"

DIFF("Engines require oil treatment","Engines require 10w40 oil treatment")
will return "10w40"

Any Ideas?
 
Top