
Add a link to the range sample, and remove partial mentions of this topic in string-functions since it's now covered well in strings-and-runes
14 lines
232 B
Bash
14 lines
232 B
Bash
$ go run string-functions.go
|
|
Contains: true
|
|
Count: 2
|
|
HasPrefix: true
|
|
HasSuffix: true
|
|
Index: 1
|
|
Join: a-b
|
|
Repeat: aaaaa
|
|
Replace: f00
|
|
Replace: f0o
|
|
Split: [a b c d e]
|
|
ToLower: test
|
|
ToUpper: TEST
|