Ad
  • Custom User Avatar

    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.