I'm trying to figure out the best way to create a search box that searches an XML document and returns the results. So far I know how to do a search that returns exact matches but I want to make it so if someone typed in say "Manager" it would return results that Also had "Sales Manager" or "Account Manager".
Currently I have
Which only works with exact results. What is the best way to get around this? Do I just need to bring in everything from the XML file and then compare it using .search()?
var authorList:XMLList = xmlData.job.(title == citySearch.text);