Skip to main content
Hi Team,

I am using below query to search the result. 

searchquery='select title,id, UrlName, Summary, ArticleType from knowledgearticleversion where Title like \'%'+searchstring+'%\'';

We have three records with title 'Wi-Fi', but if i am searching with keyword WiFi there is no result.  However if I am searching with exact Wi-Fi text only the results are coming.

Question: I want to build my query in such a way that if user enter Wifi or Wi-Fi the results should come. 

Please let me know.

Thanks

Satheesh K

 
4 respuestas
  1. 2 may 2018, 06:44
    Hi Raj,

    Compile Error: Found punctuation symbol or operator '%' that isn't valid in Apex
0/9000