Java String: remove all other whitespaces before and after line breaks

前端 未结 0 1571
别跟我提以往
别跟我提以往 2021-01-15 23:15

I need to remove heading and tailing whitespaces which is done with .trim(), also i need replace all line breaks by single space which is done with .repla

相关标签:
回答
  • 消灭零回复
提交回复
热议问题