From 5cdb8fc10a728bdb05d28d3e3a7c7f8a3995143a Mon Sep 17 00:00:00 2001 From: harveyshao Date: Thu, 24 Feb 2022 23:25:16 +0800 Subject: [PATCH] opt some --- misc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.go b/misc.go index 9b82d0b1..33902630 100644 --- a/misc.go +++ b/misc.go @@ -42,7 +42,7 @@ func (m *Message) CSV(text string, head ...string) *Message { func (m *Message) SplitIndex(str string, arg ...string) *Message { return m.Split(str, kit.Simple("index", arg)...) } -func (m *Message) Split(str string, arg ...string) *Message { +func (m *Message) Split(str string, arg ...string) *Message { // field sp nl m.Set(MSG_APPEND).Set(MSG_RESULT) field := kit.Select("", arg, 0) sp := kit.Select(SP, arg, 1)