Merge remote-tracking branch 'financeCoding/typo_fix_string_functions'

This commit is contained in:
Mark McGranaghan 2013-04-14 17:30:01 -07:00
commit 24c68d4989
2 changed files with 2 additions and 2 deletions

View File

@ -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!?$*&()'-=@~

View File

@ -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()