Hi Korges uts up?
I am trying to remove the blank elements from an array, I have tryed with DelHashKey() with no success, this is the code.

Code:

Dim $y, $Array
$Array = "A1", "B2", "C3", "", "C5", "", "C7"

For Each $r In $Array
$y=$y+1
If $r=""
DelHashKey("$r","$y")
EndIf
Next



As this REMARK in DelHashKey was given by Howard:
Quote:

This function deletes the key/value pair from the hash named $HashName.




I thought that the value=$y and key=$r but I think I am wrong.
Any idea how could I remove the "" elements?
Thanks a lot.
_________________________
Life is fine.