The task is to compare two string
and take a percentage according to the similarity.
A serious example
String palabra1 = "Hola Mundo";
String palabra2 = "ola mudo"
should show me in console the letters that does not contain word2 with respect to word1 and and show me the percentage according to the letters that it found.
As a clarification the letters should be compared according to the order of word1 since word2 could contain the letters of word1 but disordered.
Thanks for the help