Suppose I have two rather long (>100k character) strings which are mostly identical but differ in some locations.
Git has the concept of a 'diff', which shows only the differences between two (text) files.
Is there anything similar in R, where I can provide two strings and have it return a very 'human readable' excerpt showing only the differences for easily and clear visual inspection?
Preferably a simple function call that accepts two (similar) strings as arguments, looks …