Wild Card Searching SOQL in Salesforce
Requirement : Data Filter Based on any Character Page Code <apex:page controller="wildcardController"> <apex:form > <apex:pageblock > <apex:inputtext value="{!inputtext}"/> <apex:commandbutton value="Search" action="{!searchRecords}" reRender="ss,msgid"/> </apex:pageblock> <apex:pageblock id="pbId"> <apex:pageblocktable value="{!accList}" var="acc" id="ss"> <apex:column value="{!acc.name}"/> <apex:column value="{!acc.accountnumber}"/> </apex:pageblocktable> </apex:pageblock> <apex:outputLabel value="{!str}" id="msgid"></apex:outputLabel> </apex:form> </apex:page> Class Code Public class wildcar...