3
Answers

filter records by keyword

sudheen

sudheen

5y
515
1
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)