Sizeof array in processing

@OldSteve it worked perfectly! I could not find any documentation how to get the size of array using processing, but your help was perfect.

I am just wondering why println(val.length()) does not work and outputs an error in processin.