laitimes

Go strings usage explanation (index, contain, split)

author:Thick accumulation of love python

The code is as follows:

The result of the operation is as follows:

D:\go\src\github.com\[email protected]\studygo\day01>go build str01.go

D:\go\src\github.com\[email protected]\studygo\day01>str01.exe

num1:2

num2:true

list1:[fjk fjsklf jfkj]

An example of the picture is as follows:

Go strings usage explanation (index, contain, split)