考慮以下示例:" Hello this is a long string! "我想將其轉(zhuǎn)換為:"Hello this is a long string!"
將空白序列折疊為單個(gè)字符和修剪字符串
料青山看我應(yīng)如是
2019-12-10 13:08:08