Hi,

ewilson

Member
I suggest using the "Levenshtein distance" string metric and convert it into a percentage.

Let me know if you need help writing the code, or have any questions.
Thanks for your reply, but this will not work for me because it will give the difference between 2 sequence not the strings

requirement example:1) S1: Chaitra Murthy
S2: Murthy Chaitra Match percentage = 100%

2) S1: Chaitra
S2: Murthy Chai Match percentage = 28.57%
 
Top