+ 9
Do you know how to convert a string array to a string in java?
i know you can use Arrays toString method but i dont like how it returns the String https://code.sololearn.com/cTd5XkC8cL4L/?ref=app is there a way to get it without brace and commas as this program outputs?
8 Réponses
+ 5
Depends what do you expect, you can try like this
https://code.sololearn.com/cBIltdK15o36/?ref=app
+ 3
how again?.....
+ 3
Michal i think you just printed the array
+ 3
Mind To Machine, i just edited
+ 3
append or use + operator with blank string ""👈
+ 2
Convert Array to Stream and then just call reduce!
+ 2
String.join("", array);