1
0
mirror of https://shylinux.com/x/icebergs synced 2025-05-05 04:37:01 +08:00
This commit is contained in:
harveyshao 2022-02-24 23:25:16 +08:00
parent 5a13b97f01
commit 5cdb8fc10a

View File

@ -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)