7 kyu

Help Bob count letters and digits.

604 of 7,010user4790725

Description:

Bob is a lazy man.

He needs you to create a method that can determine how many letters (both uppercase and lowercase ASCII letters) and digits are in a given string.

Example:

"hel2!lo" --> 6

"wicked .. !" --> 6

"!?..A" --> 1

Strings
Fundamentals

Similar Kata:

More By Author:

Check out these other kata created by user4790725

Stats:

CreatedMay 15, 2016
PublishedJul 22, 2016
Warriors Trained9811
Total Skips224
Total Code Submissions19710
Total Times Completed7010
C# Completions604
C++ Completions936
Ruby Completions314
Haskell Completions162
Python Completions2610
CFML Completions36
Prolog Completions28
JavaScript Completions1923
TypeScript Completions252
C Completions240
Julia Completions25
Java Completions193
Total Stars60
% of votes with a positive feedback rating91% of 1015
Total "Very Satisfied" Votes846
Total "Somewhat Satisfied" Votes152
Total "Not Satisfied" Votes17
Total Rank Assessments16
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • user4790725 Avatar
  • natan Avatar
  • nimou Avatar
  • suic Avatar
  • Dentzil Avatar
  • kazk Avatar
  • B1ts Avatar
  • KSTNR Avatar
  • Voile Avatar
  • rowcased Avatar
  • FArekkusu Avatar
  • hobovsky Avatar
  • stellartux Avatar
  • AdamWlodarczyk Avatar
  • user8436785 Avatar
  • ejini战神 Avatar
Ad