Files
OpenList/test/string_test.go

14 lines
169 B
Go
Raw Normal View History

package test
import (
"fmt"
"strings"
"testing"
)
func TestSplit(t *testing.T) {
2021-03-05 21:25:44 +08:00
drive_id := "/123/456"
strs := strings.Split(drive_id, "/")
fmt.Println(strs)
2021-03-05 21:25:44 +08:00
}