You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
251 B
Bash
17 lines
251 B
Bash
5 years ago
|
$ 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
|
||
|
|
||
|
Len: 5
|
||
|
Char: 101
|