ly******@yahoo. ca <ly******@yahoo .ca> wrote:
: My idea (for a string array, a) is
: UBound(Split(RT rim(Join(a))))
: Please, let me know how and if this works as it's "total air" code.
Does this mean that this is invalid?
Dim Aray(26) as String
Aray(19) = "This "
Aray(8) = "is "
Aray(12) = "my "
Aray(0) = "array."
This 26 element array with four defined elements has its last
defined element at place 20
A separate counter seems like the safest route to me, updated like
this:
If array_position_ just_defined > highest_array_p osition Then
highest_array_p osition = array_position_ just_defined
with highest_array_p osition initialized to -1 for the empty array.
--thelma