Replace multiple spaces with one space in a string

前端 未结 5 1509
感动是毒
感动是毒 2020-12-01 03:54

How would I do something in c++ similar to the following code:

//Lang: Java
string.replaceAll(\"  \", \" \");

This code-snippe

5条回答
提交回复
热议问题