for (String column : searchCols) {
for (String keyword : keywords) {
listAllSql.append(getDBColumnName(column));
listAllSql.append(" like "); //like
listAllSql.append("'%"); //'%vision%'
listAllSql.append(keyword);
listAllSql.append("%'");
listAllSql.append(" or ");
}
Here is a snippet of of the code. I pass a keyword for example "Networks" to be searched for. I want the statement to return me result event if it finds "Network" (Singular) as well as those which contains "Networks" (plural). What changes to do I make to the above statement to achieve this. I am actually working with 'SQLite' Manager as an add on on Mozilla Firefox FYI.