Another associative array question: keys and delete
    David Tremmel 
    david.tremmel at duke.edu
       
    Sun May  2 10:19:07 EDT 2004
    
    
  
Actually, in testing what was going to be my initial response, I 
discovered that it's actually trivial, but tough to find. This will do 
the trick:
delete variable myArray[unwantedKey]
Regards,
Dave
On May 1, 2004, at 10:30 PM, Raymond E. Griffith wrote:
> I have an associative array from which I wish to remove elements. How 
> do I
> do this? I have Metacard 2.4.3. I have discovered that I cannot 
> directly
> adjust the keys of this array, but deleting the individual elements 
> has also
> been eluding me.
>
> Any pointers would be greatly appreciated.
>
> Thanks,
>
> Raymond
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
    
    
More information about the metacard
mailing list