Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
import "strings"strings.Index("go gopher", "go")0strings.Index("go gopher", "roden")-1strings.LastIndex("go gopher", "go")3strings.LastIndex("go gopher", "rodent")-1strings.HasPrefix("International", "Inter")truestrings.HasSuffix("International", "national")truestrings.Join([]string{"a", "b", "c"}, ", ")a, b, cstrings.Replace("how are you", "how", "How", 1)How are youstrings.ReplaceAll("how are you", "how", "How")How are youstrings.Split("a", "a")[ ]strings.Split("abc", "\n")[abc]strings.Split("how,are,you", ",")[how are you]