Created
May 29, 2013 06:05
-
-
Save hyonschu/5668259 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var str = "this is a call to all my mass resignation" | |
newstr = str.split(" "); | |
for (var i=0;i<newstr.length;i++) { | |
words = newstr[i].split(""); | |
for (var j = 1;j<words.length;j++) { | |
var splits = words[i].split("") | |
var splits = splits[0].toUpperCase(); | |
var splits = split.join(""); | |
} | |
} | |
words | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment