Hi,
you have extra block starting here
{nombre[i].charAt(1)
This must be eliminated (the 2 pair curly braces).
Add the characters in string, but don't show the string inside for loop,
show it after you created it (after the for loop).
You can do this with
Name = Name.concat(nombre[i].charAt(1));//don't forget, String is immutable
Best regards,
Vasile Braileanu
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---