NPC Code:
if (created) {
setstring test.string,a b c d e f;
tokenize #s(test.string);
message #v(tokenscount);
for (i=tokenscount-1;i>=0;i++) setstring test.string,#s(test.string) #t(i);
}
That should make test.string into "a b c d e f f e d c b a" once it's been run...