c'è

codice:
int lunghezza2=nb.numero.length();