Here's an example of two strings to run through a diffing processes
let oldText = "start case old Text"
let newText = "start Case next Text"
These get tokenized by each word (separated by a space) and passed into difflib which produces the following result: