Try this...

Code:
var %ApprovedBy = $gettok($1-,6--2,32)
var %Country = $0


Or even...

Code:
var %ApprovedBy = $($+($,6-,$calc($0 - 1)),2)
var %Country = $0



Just be aware that if the Country is omitted, it will mess up %ApprovedBy as well.

Last edited by Riamus2; 31/05/11 12:38 AM.