Integer into array with same digits for index

I made a massive blueprint that any number from 0 to 1 000 000 000 is stored separately in array, for example 7354 will be 7 3 5 4 in an array but there will be exactly 4 indexes. If the random number is 6 digit I will have 6 indexes in the array. Is there any shorter way to do this?

Can i make a custom node and fit this whole thing inside and on the node to have adjust minimum and maximum random number and a note that maximum supported is 1000000000 and no more.
also if I can make such a custom node can I after this find it’s location on the hard drive and copy it somewhere else?