Journeyman CF
Testing Existence in Arrays
Have you ever wanted to test if a given array element exists? Or when dealing with arrays of structures, if a given key exists?
Reader Feedback : Page 1 of 1
#3 |
Pablo commented on the 15 Feb 2008
will get the job done, but if you want a sparse array (i.e. one where only the elements that have data are initialized), then the try/catch will work better. |
#2 |
Sanka Suresh commented on the 5 Aug 2004
This is really a very good artical... it helped me a lot!!! Keep up the good work. |
#1 |
Sanka Suresh commented on the 5 Aug 2004
This is really a very good artical... it helped me a lot!!! Keep up the good work. |