| iMatix home page | << | < | > | >> |
![]() Version 1.91 |
#include "sfltok.h" size_t tok_text_size ( char **token_list)
Returns size of specified token list, in characters. Counts the size of each token, plus one terminator for each token. Thus the table "This", "Is", "A", "String" will return a size of 17.
{ size_t text_size; int word_nbr; text_size = 0; for (word_nbr = 0; token_list [word_nbr]; word_nbr++) text_size += strlen (token_list [word_nbr]) + 1; return (text_size); }
| << | < | > | >> |
![]() |