• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
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 Resposta
+ 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

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
How many time I can use sololearn trial mode?
2 Votes
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Sololearn course
1 Votes
solo learn program issue - iPhone?
1 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
Bug sur le deuxième cours de python
1 Votes
I am learning javascript intrmdt but when I play a code challenge. The app is givin me comlecated questions with less time.why?
0 Votes