Removing repeated characters in String

后端 未结 4 1646
半阙折子戏
半阙折子戏 2020-12-20 04:49

I am having strings like this \"aaaabbbccccaaffffddcfggghhhh\" and i want to remove repeated characters get a string like this \"abcadcfgh\".

A simplistic implementati

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