This commit is contained in:
白茶清欢 2023-01-13 17:16:24 +08:00
parent 58140add3d
commit 8f8476eed0

View File

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