Is it possible to iterate through an anonymous array of strings with a for loop?
Here's what I'm trying to do:
for ( i in ['country', 'city', 'state'] ) {
doSomethingWithString(i);
}
What I want is the string, but what I'm getting is the index number of the array, which I can't use because the array isn't named.
Thank you.
--
-- Ghodmode