# [texhax] Howto Count tokens

Tim Dijkstra newsuser at famdijkstra.org
Wed Sep 19 11:53:15 CEST 2007

Dr. R. Hasson schreef:
> Dr. T.P.T. Dijkstra wrote:

>> I have a register created with \newtoks\list, it's content is roughly
>>
>> 	{AA \mysep{BB \mysep CC \mysep DD} \mysep{EE} }
...
>>
>>
>> Now I get the correct number, but now it also outputs AA BB CC DD EE.
>> In other words I need a way to expand the list but discard the output,
>> I only need the by product'.
>
> Why not put the output in a box (and then forget about it)? For example:
>
`