split the text get the words in array, give search on the elements in the array
On Sat, May 9, 2009 at 3:06 PM, Kiran Kumar Vasireddy <[email protected]>wrote: > Dear All, > > Can any body provide me some simple solution for this? > > Scenario :- Users Can have multiple cars , I have to provide a textinput > search filed which takes car name as an input and should list out all the > users ,if they have cars mentioned in the search filed > > Problem :- I used RegExp to search for cars , but the problem is if user > has two cars for example Hynadi,Toyota .In the search filed if user enters > Hyndai , it is searching fine and if he enters Toyota it is working fine . > But if the user enters Toyota Hyndai ( The order we have is Toyota and then > Hynadi) , It is not working, since the text is different > > I mean the Data I have is > Hynadi,Toyota > > Search entered for > Toyota Hynadi > > > > Looking for a solution to resolve this issue > > what I have in mind :- > > 1) Is there any RegExp parameter that takes to search for multiple words > even the order is different? > 2) I may have to extract the words from Users input and have to create > different filters for each word ( Is there any way to extract words from the > users inputtext) > > Thanks for your help > > Regards > Kiran > > > > > > -- ----------------------------- Regards, HISSAM, ------------------------------ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

