about | help | code help+videos | done | prefs |
Given the string str, remove the lowercase chars and only keep uppercase letters. If there is no uppercase letter in the string return "". keepCaps("aA") → "A" keepCaps("a") → "" keepCaps("HELLO") → "HELLO" ...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: 110
Copyright Nick Parlante 2017 - privacy