I have an array built using AJAX and CSV2ARRAY plugin.
Example data:
Carrot, Juice
Banana
Apple, Sauce
Peanut
Lemon
Coconut, Chocolate
Row 0 has X and Y but Row 1 does not have a Y value.
0, 0 = "Carrot"
0, 1 = "Juice"
and
1, 0 = "Banana"
What is 1, 1?
Does
1, 1 = ""
Or
1, 1 = 0
?
I want to create an If/Else using the data...
If Current.Y != "" Then Create 2 small objects for text display evenly spaced.
Else Create 1 large object for text display centered.
If I have never assigned data to an Array cell should I use "" to check for an empty cell?
Thanks!