mirror of
https://shylinux.com/x/icebergs
synced 2025-05-05 04:37:01 +08:00
opt some
This commit is contained in:
parent
5a13b97f01
commit
5cdb8fc10a
2
misc.go
2
misc.go
@ -42,7 +42,7 @@ func (m *Message) CSV(text string, head ...string) *Message {
|
|||||||
func (m *Message) SplitIndex(str string, arg ...string) *Message {
|
func (m *Message) SplitIndex(str string, arg ...string) *Message {
|
||||||
return m.Split(str, kit.Simple("index", arg)...)
|
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)
|
m.Set(MSG_APPEND).Set(MSG_RESULT)
|
||||||
field := kit.Select("", arg, 0)
|
field := kit.Select("", arg, 0)
|
||||||
sp := kit.Select(SP, arg, 1)
|
sp := kit.Select(SP, arg, 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user