Merge remote-tracking branch 'financeCoding/typo_fix_string_functions'
This commit is contained in:
commit
24c68d4989
@ -1,7 +1,7 @@
|
||||
# The string encodes to slightly different values with the
|
||||
# standard and URL base64 encoders (trailing `+` vs `-`)
|
||||
# but they both decode to the original string as desired.
|
||||
$ go run base64-encoding.sh
|
||||
$ go run base64-encoding.go
|
||||
YWJjMTIzIT8kKiYoKSctPUB+
|
||||
abc123!?$*&()'-=@~
|
||||
|
||||
|
@ -28,7 +28,7 @@ func main() {
|
||||
p("Replace: ", s.Replace("foo", "o", "0", -1))
|
||||
p("Replace: ", s.Replace("foo", "o", "0", 1))
|
||||
p("Split: ", s.Split("a-b-c-d-e", "-"))
|
||||
p("toLower: ", s.ToLower("TEST"))
|
||||
p("ToLower: ", s.ToLower("TEST"))
|
||||
p("ToUpper: ", s.ToUpper("test"))
|
||||
p()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user