"Mehmet S. Aras" <maras@iupui.edu> wrote in message news:NEBBLDPCKDJMEKABOJMHKEBJCFAA.maras@iupui.edu...Is there any way to get the number of tokens that the tokenizer generates? I could not find a member fuction that actually returns the size. One could iterate thru the container and set up a counter but is there a better alternative? I need this for validation purposes. For example, when I have the following tokenized with '=' separatorparam1 = value1I wanna make sure that I end up having exactly 2 tokens.Mehmet