Will this work for testing whether a value at position index exists or not, or is there a better way:
index
if(arrayName[index]==""){ // do stuff }