(Go)07.strings與strconv的示例

  1 package main 2 import ( 3 "strconv" 4 "fmt" 5 "strings" 6 ) 7 func main() { 8 9 str := "Hello World test!" 10 result := strings.Replace(str, "World", "golang", 1) 11 fm
相關文章
相關標籤/搜索