Good point, though I guess you can do something like:
PHP Code:
function onCreated() {
array = {"foo1", "foo2", "bar1", "foo3", "baz1"};
for(item : array.size())
if (array[item].pos("foo")>-1) echo(item);
}
Hmm, as for the suggestion, I think it's good. Of course I think anything that benefits in someway and makes things easier is a good idea. Though many seem to think if it's possible to work around there's no need to make such an addition. Phooey.