Perke "anno" è un intero devi trasformarlo in string: (""+anno).substr(0,1)+...........
Regole del Forum