 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
mithrandir Guest
|
Posted: Thu Feb 23, 2006 2:12 pm Post subject: sostituzione caratteri in stringa |
|
|
ciao.
ho una stringa di caratteri e interi [A-Z0-9]... mi servirebbe
togliere o sostiture con un intero tutte le lettere.
come potrei fare?
grazie
--
La vita è quello che succede mentre tu stai facendo altri progetti. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Feb 23, 2006 2:12 pm Post subject: Re: sostituzione caratteri in stringa |
|
|
stringaNew = stringa.replaceAll("\\D",""); |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|