tokenize 32,44 first,second,third forth fifth,sixth
echo -a $3
I want $3 to return
third not
fifth,sixthp.s. Please don't say "this is easily scripted" because I am aware.
p.p.s It's not something I need or something I'm going to use in the near future, I just thought it would be cool if it was added.
//tokenize 44 first,second,third forth fifth,sixth | tokenize 32 $1- | echo -a $3
Hmmm.. IMHO, i think that the tokenize should be work in this way:
tokenize 124,59 test|;testing|;testingĀ²
and $1 = test, $2 = testing, $3 = testingĀ²
$replace in |; forone character and do the tokenize is easly scripted, but in this way the target character must not be in the string, so its sucks.
and the tok idents works as well, like $numtok(test|;testing|;testingĀ²,124 59)