Posts by Kelvera • 99 points
3 posts
-
1
votes3
answers469
viewsA: How to remove spaces from a string in Java?
I want to thank everyone who has volunteered to help me solve the problem! I was able to solve the problem using the substring that was used in the code of the friend Sorack, I put it inside a for…
-
1
votes4
answers2533
viewsA: How to split a string every 2 characters?
If you’re doing it in java. You can use "substring". I did it manually, but you can create a delimiter using a loop and work on it. Ex: String texto = "99E65A78"; String EX = ""; EX =…
-
6
votes3
answers469
viewsQ: How to remove spaces from a string in Java?
I’m having a question about how to remove spaces from a Java string by doing this through the for. I’m making a letter diamond, and I use a variable to create the space between the letters. A B B C…