How numbers stored inside string

suppose string s = “9841”
so are each digits considered as a one character (9,8,4,1) .

hey @shiva57reddy, yes they are consider as character only, but you have to change them to digit.