Daniel verifique se a sua String tem pelo menos 7 caracteres.
Já aconteceu comigo de usar o subString() passar um índice maior que o texto e dar exception.
Exemplo:
texto = "0123"
texto.subString(0, 6) ==> exception (não existe posição/indice 6 na string texto.
2013/6/21 Daniel Tibúrcio - Ideia Informática <dtiburcio@gmail.com>
Mesma coisa, Rudson.Estou pegando as 7 primeiras posições da descrição corretamente?
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Analista-Programador
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.






0 comentários:
Postar um comentário