← previousnext →
Problem
Return the total number of non-space characters in space-separated words.
Examples
totalCharsNoSpaces("hi there") -> 7totalCharsNoSpaces("a") -> 1
Return the total number of non-space characters in space-separated words.
totalCharsNoSpaces("hi there") -> 7totalCharsNoSpaces("a") -> 1