How to divaded one number to digits and save every digit in variable

Hi,

Usually, its good that we handle array as it is.
If you need to assign them to individual variable and the number is fixed length, the following will work.

var1 = result(0)
var2 = result(1)
var3 = result(2)
var4 = result(3)
var5 = result(4)
var6 = result(5)

Regards,