I am creating a app which need to retrieve a player info from a XML file. I've basically done the parsing part but encounter this problem right now.
The example of format is:
<P id="4336" f="Luka" s="MODRIĆ" d="1985-09-09" h="174" w="65" i="4336.png"/>
(My logic is compare first name and last name from data with user input and pull the data out from the XML file.)
I need retrieve the data when user input "Luka Modric" but I know it is hard to compare "MODRIC" with "MODRIĆ" or "MODRIĆ"
. Are there any better solutions that I can achieve my goal? Thanks.