function searchArray(array, start) { temp.new = null; for (temp.a : array) { if (a.starts(start)) { new.add(a); } } return new;}