I want to create an array which looks like the following:
----------------------------
HEADER1 | HEADER2 | HEADER3|
----------------------------
15 |20 |25 |
1 |2 |3 |
This is a dynamic array. It will have at least one column, but most likley more. If my script finds a value of HEADER2, the two values below get updated. If it finds a HEADER4 value, the array is redimensioned and the values added.
My question is - how do I search the array to see if the header value already exists?
----------------------------
HEADER1 | HEADER2 | HEADER3|
----------------------------
15 |20 |25 |
1 |2 |3 |
This is a dynamic array. It will have at least one column, but most likley more. If my script finds a value of HEADER2, the two values below get updated. If it finds a HEADER4 value, the array is redimensioned and the values added.
My question is - how do I search the array to see if the header value already exists?