![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
01/05/2006, 15:08
|
![Avatar de chuidiang](http://static.forosdelweb.com/customavatars/avatar75810_2.gif) | Colaborador | | Fecha de Ingreso: octubre-2004
Mensajes: 3.774
Antigüedad: 20 años, 4 meses Puntos: 454 | |
Hola:
StringTokenizer te viene bien. Usa la coma como separador y al obtener tokens tendrás el "subir" y el "5".
Si necesitas convertir el "5" a un número, usa la clase Integer
Integer.parseInt (token);
siendo token="5" lo que has leido.
Se bueno. |