We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Strings
- CamelCase
- Discussions
CamelCase
CamelCase
Sort by
recency
|
1871 Discussions
|
Please Login in order to post a comment
How to get more then 15 ? is it possible ?
How to get more then 15 ? is it possible ?
Java 8 using stream int count = (int)(s.chars().filter(c -> Character.isUpperCase((char)c)).count()+1); return count;
def camelcase(s): if len(s) == 0: return 0 capitals = [c for c in s if 64 < ord(c) < 96] return len(capitals) + 1 `