Interpreting parts of a variable


Is there a way to interpret parts of a variable?

Simple example:
input_name Joe Blogs
Interpreted by your code and *set ing two other variables automatically, like:
*set firstname “Joe”
*set secondname “Blogs”

Now imagine this applied to numbers
So *input_number 1234
Interpreted by your code, leading to:
*set firstpair 12
*set secondpair 34