L'array non è una stringa quindi la len non funziona.
L'indice dell'array parte da 0 che corrisonde anche all'UBound

Roby