• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
+ 1

How can I remove extra spaces of a string in java?

I want to this "bla bla bla " become this "bla bla bla".

javastrings
20th Feb 2020, 11:13 AM
Hassan
Hassan - avatar
1 Réponse
+ 4
https://netjs.blogspot.com/2019/08/removing-spaces-between-words-in-string-Java-program.html?m=1 https://stackoverflow.com/questions/26565705/given-a-sentence-with-multiple-spaces-between-words-remove-the-extra-spaces-so
20th Feb 2020, 11:19 AM
Chetali Shah
Chetali Shah - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de maniĂšre plus efficace, gratuitement :

  • Introduction Ă  Python

    7.1M apprenants

  • Introduction Ă  Java

    4.7M apprenants

  • Introduction Ă  C

    1.5M apprenants

  • Introduction Ă  HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Linking GitHub with Sololearn profile
1 Votes
Error in python
3 Votes
Am getting discourage in my Language, Help me out🙏🙏
1 Votes
Is the Coding Certificate Worth it??
3 Votes
Model Context Protocol ? What is it ?
2 Votes
High paying job?
2 Votes
Do you Think Sololearn should add GDscript?
2 Votes
Not Accessing Message Function
0 Votes
Why Sololearn Removed Our Saved Private Project (Codes), I Can't Find This Option.
1 Votes
Pls wat is the answer for dis question
0 Votes