A file with utility functions operating on character arrays. More...
#include <cstdlib>#include <cstdio>#include <cstring>#include <cmath>#include <mtgl/util.hpp>Go to the source code of this file.
Defines | |
| #define | NUM_STREAMS_TOKENIZE 60 |
Functions | |
| bool | mtgl::matches (char *long_string, int long_len, char *short_string, int short_len) |
| char * | mtgl::remove_escapes (char *delimiter) |
| char ** | mtgl::mtgl_strtok (char *array, int num_chars, int &num_words, int est_num_words=-1) |
| The function finds all sequences of alphanumeric characters and tokenizes them. | |
| char ** | mtgl::mtgl_strtok (char *array, int num_chars, int &num_words, char *delimiter, int est_num_words=-1) |
| Similar to the other mtgl_strtok function, but this determines the token boundaries according to a specified delimiter. | |
A file with utility functions operating on character arrays.
1.7.1