Come faccio a leggere una stringa e mettere i diversi caratteri (compresi li spazi in un vettore) finche non pigio il tasto invio?