I'm trying to follow you here, but not sure I do...
If the number entered is "564732" how do I get var1 to have the value 64732 and var2 to have the value 5?
If the number is "1234" This one is fairly straightforward, as I just check strlen () <= 5...
If the number is "63453294031" how do I get var1 to have the value 94031, var2 to have the value 34532 and var3 to have the value 6?