I have a requirement of applying filter on list<String>. I am building a list<String> say cityNamesList, which contains values like below:
KOTHAPETA,PEDDAPALLE,KUPPAM,SIRCILLA,KAKINADA RURAL,PONNUR etc..
I am having a text box in the user interface side. When the user types a character in the text box, i capture that character and have to show the city names containing that character that user typed.
Ex: If user has typed K then from the above list i have to show the city names that contains letter 'K'