Retired
String Breakers (retired)
1,239 of 2,519Capocaccia
Description:
I will give you an integer (N) and a string. Break the string up into as many substrings of N as you can without spaces. If there are leftover characters, include those as well.
Example:
N = 5;
String = "This is an example string";
Return value:
Thisi
sanex
ample
strin
g
Return value as a string: 'Thisi'+'\n'+'sanex'+'\n'+'ample'+'\n'+'strin'+'\n'+'g'
Strings
Fundamentals
Similar Kata:
Stats:
Created | Oct 3, 2017 |
Warriors Trained | 3720 |
Total Skips | 60 |
Total Code Submissions | 11825 |
Total Times Completed | 2519 |
JavaScript Completions | 1239 |
C# Completions | 281 |
Python Completions | 1015 |
Ruby Completions | 58 |
Total Stars | 37 |
% of votes with a positive feedback rating | 93% of 474 |
Total "Very Satisfied" Votes | 417 |
Total "Somewhat Satisfied" Votes | 50 |
Total "Not Satisfied" Votes | 7 |
Total Rank Assessments | 16 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |