java - Determine if word is in word list from file -


i have file i'm reading through android. list of words. have edit text user enters word, , need check if word in list of words. can file, add words string, , can check if characters of word entered located in list of words, can't check if it's word alone or not. example, if user enters 'bro' , bro not in word list, 'brother' is, returns true. words each on own line, tried testing 'bro' '\nbro\n', doesn't work. ideas? if need code posted let me know, don't think helps much

i found looking for. unanswered question linked @ bottom of page. needed use buffered reader read file, allows reading 1 line @ time. thank help. using buffered reader


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -