⭐ in reply to How do I find the percentage of similarity between strings?
You might also want to read Levenshtein distance: calculating similarity of strings.