Pretty nice actually. Although I wouldn't call it $maketok. Maybe... $septok? Short for seperate-token? :P
Would be nice to fix the spaces problem though. I don't see why you couldn't just interpret $chr(32) ad make it come out. Such as:
$maketok(hello there,46)
Could return:
h.e.l.l.o. .t.h.e.r.e
Good work though. 7/10