How to split a number into its digits in APL

Viewed 717

In APL, how can I split an integer or number into a vector containing its digits? What is the most concise (shortest) way of doing this?

4 Answers

I tried to do it obviously: a⊤⍨10×b÷b←⍳⌈10⍟a←⍵

Related