in reply to Help with parsing a string

Well, if you want to print those 4 chars, just do
print $1,$2,$3,$4;
Even better, if all you want is just to eliminate spaces in that string, do
s/ //g; print;
If that is not what you want, you have to be more specific.