I have ten arrays with an empty value
onTable[0 to 10];
take a look
["Jean5", "Jean3", "Paul2", "Jean6", "", "Paul4", "Jean", "peirre4", ""] ["Paul5", "peirre6", "peirre3", "", "Jean4", "Paul", "peirre5", "Jean2", ""] ...
I want to get the length of each array without an empty value and not create ten variables to check this.
I tested this solution to read empty values ββin an array , but I do not want to do ten variables. i.e.: count1, count2,...
I also check the comparison of two arrays based on length: skip empty values , but this is not what I want.
If possible, I want it to look like
onTable[0].length(exclude(""))
What is a good way to do this?
source share