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.
What I want is to slice the number off the front of the string so I need to know the length of the number. Adding an empty string to a number converts the number to a string. So (4 + "").length = 1, (13 + "").length = 2, and so on. A number by itself doesn't have a length property.