How to compare two strings and get its percentage

Hi @ppr I tried this but it doesn’t return 100% while i reverse the second string.

image