Hello,
So I'm working on a project, and it requires me to split up an integer into each of it's numbers so I can create a base 10 polynomial representation of the number. The problem is, I'm not sure quite how to do it. I figure I can convert the int into a string, and then I want to split the string with the split method, but I run into two problems. First, I feel there must be an easier way to do this. Second, if there isn't, then I'm not sure how to split it up. I tried string.split("/d"), but I'm getting an error message.
I guess my question is, what's the most efficient way to approach this.