Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I think you solution may be able to benifit from refractoring, but you should be proud of all 40 lines! Anyone can learn and apply regEx with relitive ease. But to code this without regEx is much more of a challenge! Good work Todd!
LMAO 1_000%
This comment is hidden because it contains spoiler information about the solution
mine was 40 lines LOL
and to think that it took me about 40 lines of code to do what this solution did in 6 lines.
I have an over-reliance on For Loops and am not familiar enough with all the string methods and array methods to
always remember when there's an easier way and I don't have to reinvent the wheel.
This comment is hidden because it contains spoiler information about the solution
I'm having the same problem.
More concise than #1! Way to go!
agreed.