把连续的字符 变成 一个

http://www.qdfuns.com/notes/17398/3b13294a13ea507bbb9e5e403ed821a9.html

原文地址:https://www.cnblogs.com/dhsz/p/6273261.html