Using split & switch default

search = textBox.text.toLowerCase(); //converts whatever text to lower case
var searchWords:Array = search.split(" ");
for(var m:int = 0; m < searchWords.length; m++){
pointerAction(searchWords[m]);

using this code it splits whatever words i am searching for into individual items, however if i search for apple tree and it matches with apple but not tree it still defaults one of the items, is there a way to default only if none of the search terms are met