in reply to How to separate digits
If i understood your question correctly,this might help you.
Prasad