Question : Check string prefix golang
Answered by : thelazylemur
import ( "strings"
)
myString := "x-test"
result := strings.HasPrefix(s1, "x-")
Source : | Last Update : Mon, 02 Nov 20
Answered by : thelazylemur
import ( "strings"
)
myString := "x-test"
result := strings.HasPrefix(s1, "x-")
Source : | Last Update : Mon, 02 Nov 20