Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created April 21, 2016 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuck0523/6f490aedba65894ea5ceab694e5d6615 to your computer and use it in GitHub Desktop.
Save chuck0523/6f490aedba65894ea5ceab694e5d6615 to your computer and use it in GitHub Desktop.
str = "fdsajfAAAbaa"
puts str[0].upcase + str[1..str.length].downcase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment