destruk your reply is satisfactory in case of trim().
But I am not understanding in case of :
Using
SetSearchTerms() there are history or searchphrase appear.
How to catch individual index. suppose
i got 4 suggestion by searchPhrase.Len() > 2 like:
1) delhi
2)mumbai
3)kolkata
4)chennai
how to catch index 1) delhi which is in array 0 position. i want to block up button here.
When i am in 1) delhi and press up button here the screen gone close.for this i am using
if msg.isButtonInfo()
print"key press search "msg.GetIndex()
but nothing will print in debug console when i am pressing remote key.