Sto diventando string
come parametro.Aggiunta di spazi bianchi alla stringa
Ogni stringa deve contenere 30 caratteri. Ora, dopo aver controllato la lunghezza, voglio aggiungere degli spazi bianchi alla fine, se la stringa passata è lunga 25 caratteri, voglio aggiungere altri 5 spazi bianchi.
La domanda è, come aggiungere spazi bianchi alla stringa?
http://stackoverflow.com/questions/388461/how-can-i-pad-a-string-in-java –
Penso che questa domanda si riferisca al seguente post: http://stackoverflow.com/questions/10870037/how-to-add-certain-number-of-whitespaces-to-stringbuilder Saluti, – user2239197