You are viewing a single comment's thread. Return to all comments →
Words count = capital letters count + 1
System.out.println(s.length() - s.replaceAll("[A-Z]", "").length() + 1);
Seems like cookies are disabled on this browser, please enable them to open this website
CamelCase
You are viewing a single comment's thread. Return to all comments →
Words count = capital letters count + 1