come faccio a sapere quanti caratteri ci sono in una stringa?