Is there any method to find the number of elements that are filled in an array
lets say i have the following array defined
string[] text = new string[50]
and i fill the first 8 elements/indexes
Is there any method that could return the number of elements/indexes within an string array that are filled?
I tried using text.lenght() but that returns the total size of array. In above case it would return 50 which is not what i want...