06.08.2010, 14:21
Just the code you have now,
but instead of
'tmp = strtok(cmdtext, idx);'
you do
'format(tmp, sizeof tmp, "%s %s", strtok(inputtext, idx), strtok(inputtext, idx));'
but instead of
'tmp = strtok(cmdtext, idx);'
you do
'format(tmp, sizeof tmp, "%s %s", strtok(inputtext, idx), strtok(inputtext, idx));'