Why not use $gettok

Code:
  var %v = 3, %a
  while (%v <= $0) {
    %a = $left($gettok($1-,%v,32),1)
    inc %v
  }


/help $gettok

Your code is almost correct, except when you are setting the %v variable inside the /while loop then tries to increment it. Use another variable.

Last edited by xDaeMoN; 22/08/07 06:21 AM.