I have some questions.
I am comparing a textboxs that the user inputs with variables i have.
To avoid errors, i used the uppercase block (in text blocks)
so if the user puts android and my variable have ANDROID then it will take de textinput as OK.
Is there a way to do the same with accents? and another variations of words.
So for example if my variable ist: “Caffe” i wanna compare to the textbox,and i want to take as equals to the textbox whenever the user puts “Caffe”, “CAFFE” , “Cáffe” or “CÁffe”. (this could be a minor problem in english because only foreign words have written accents (tilde) but in spanish there are a lot.
To resume i want the app to take A,a,Á,á as equals.
on the other hand, if i can’t convert al the variations of aan A to a plain A, maybe i cant restrict the keyboard to show only plain words and prohibit words variants?
(for example my keyboard shows an A, an if i put my finger on it a few seconds, then it opens a list with á, à, ä, etc) Its possible to cancel this function?
I have a 3rd qestion, i think it is the simpliest of the 3 .
If my variable has a text: “Apple”, and the user inputs “Apples (plural)” o “The Apples” how can i do to take them as equals? (in fact, to check if my variable is “contained” in the string that the user inputs?)