• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Substring

 
jose santelices
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys i got this code





the problem is whenever i print the variables c,d,e, i get a " , " between each number, is there any way to take the " , " away? Ill really appreciate this help
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like those commas are inserted at line 17, so if you don't want them at all, you could make your adjustment there.

Otherwise, if it's a question of removing specific characters from a String, the String class has methods for that.
 
jose santelices
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OMG you got to be kidding me I never realized that It was me!!!

I was adding the , omg

Thanks for letting me see my mistake
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic