about | help | code help+videos | done | prefs |
fixSentence
Given a string, change the first character of words that come right after the whitespace to uppercase and return a new string. Also. the sentence itself should start with an uppercase letter. fixSentence("hi") → "Hi" fixSentence("Good morning") → "Good Morning" fixSentence("nice job!") → "Nice Job!" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 150
Copyright Nick Parlante 2017 - privacy