I think you misunderstood me :tongue:

To demonstrate what I mean, type the following:

Code:
//var %z = hello world blah blah x | echo -a $gettok(%z,-1,32) ~ $gettok(%z,$gettok(%z,0,32),32)


You could also apply this to the two %word variables you're using:

Code:
alias t {
  var %text = a b c d, %pos = 3
  var %word = $gettok($left(%text,%pos),-1,32)
  echo -a %word
}


/t