On Oct 26, 2005, at 9:43 AM, David Burgun wrote:

How do I delete an item from an array?

Given that I have:

"Key1","Data1"
"Key2","Data2"
"Key3","Data3"

in myArray, how do I delete "Key2", to give:

"Key1","Data1"
"Key2","Data2"
"Key3","Data3"

That result, at least, is easy. ;)

Is it not good enough to delete the value associated with "Key2"? I think (I could certainly, easily, probably, be wrong) the only way to eliminate the key itself would be to make a new array and copy the other key/value pairs to it . . .

Charles Hartman


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to