github.com/hedzr/evendeep@v0.4.8/internal/tool/strings_test.go (about)

     1  package tool
     2  
     3  import "testing"
     4  
     5  func TestString_Split(t *testing.T) {
     6  	var s String = "hello world"
     7  	t.Log(s.Split(" "))
     8  	// Output:
     9  	// [hello world]
    10  }