Hi to all!!!!

I have a parameter field which is of the form "20-100-105"
I use the commands
Dim DimArr() As String
DimArr = Dim_Len.Split("-")
I want to create a loop to find out how many fields in my array is not empty.
"20-100" = 2
"20-100-105" = 3
"20-100-105-160" = 4

Can anyone help me!!!!!!

Thanks and regards.