Determine the length of a String
Return the amount of character in the given string.
Sample Code:
function letterCount(str) {
// Enter your logic here...
}
Examples:
Input: 'Codetisan'
Output: 9
Explanation: There are 9 characters to be found.
Input: ' Java Javascript '
Output: 17
Explanation: 17 characters to be found. Yes, including the spaces.