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

But when I debug it without the “type into” it returns to “Result” the number well.
I am getting to sms variable an OTP number.