Well, when you see title I think that you think it's something about grammar,
well, script wise it is; is there a way to see if a string should have 'a' or 'an' infront? Instead of having a private function like..
PHP Code:
temp.foo = { "a", "e", "u", "i", "o", "y"};
temp.bar = "test";
return ( temp.bar.substring( 0, 1) in temp.foo ? "an" : "a") SPC temp.bar;
// would produce 'a test'
Is there an easier way? ( well, thats easy, just looking if there is a built-in or something, or it could of been suggested..)