This commit is contained in:
白茶清欢 2023-01-13 17:07:41 +08:00
parent 8d464bb896
commit 58140add3d

View File

@ -167,9 +167,9 @@ func (s *stringOperate) ClearSpace(src string, spaceList ...string) string {
if len(spaceList) == 0 {
spaceList = []string{
" ",
`\r`,
`\n`,
`\t`,
"\\r",
"\\n",
"\\t",
}
}
for _, item := range spaceList {