sudheen

sudheen

  • 1.1k
  • 313
  • 83.4k

filter records by keyword

Dec 5 2019 10:54 PM
Hi,
 
my requirement is filter the records on typing in keyword in textbox. 
 
EX:
 
string:Test Record
string :filter Test 
string: Record1
 
 if i type 'T'  only  Test Record should populate.
if i type 'R'  Record1 should populate.
 
i tried below 
 
string.match('T')-it will match the  string having 'T'
 
but i need to filter -if filter search is 'T' or 'Te' or 'Tes'
 
Expected:string starting with 'T' or 'Te' or 'Tes' should populate (i.e Test Record not filter Test)

Answers (3)