1 \section{\class{wxStringTokenizer
}}\label{wxstringtokenizer
}
3 wxStringTokenizer helps you to break a string up into a number of tokens.
5 \wxheading{Derived from
}
7 \helpref{wxObject
}{wxobject
}
9 \wxheading{Include files
}
13 \latexignore{\rtfignore{\wxheading{Members
}}}
15 \membersection{wxStringTokenizer::wxStringTokenizer
}\label{wxstringtokenizerwxstringtokenizer
}
17 \func{}{wxStringTokenizer
}{\void}
21 \func{}{wxStringTokenizer
}{\param{const wxString\&
}{to
\_tokenize},
\param{const wxString\&
}{delims = " $
\backslash$t$
\backslash$r$
\backslash$n"
},
\param{bool
}{ret
\_delim = FALSE
}}
23 Constructor. Pass the string to tokenize, a string containing delimiters,
24 a flag specifying whether delimiters are retained.
26 \membersection{wxStringTokenizer::
\destruct{wxStringTokenizer
}}\label{wxstringtokenizerdtor
}
28 \func{}{\destruct{wxStringTokenizer
}}{\void}
32 \membersection{wxStringTokenizer::CountTokens
}\label{wxstringtokenizercounttokens
}
34 \constfunc{int
}{CountTokens
}{\void}
36 Returns the number of tokens in the input string.
38 \membersection{wxStringTokenizer::HasMoreTokens
}\label{wxstringtokenizerhasmoretokens
}
40 \constfunc{bool
}{HasMoreTokens
}{\void}
42 Returns TRUE if the tokenizer has further tokens.
44 \membersection{wxStringTokenizer::GetNextToken
}\label{wxstringtokenizergetnexttoken
}
46 \constfunc{wxString
}{GetNextToken
}{\void}
48 Returns the next token.
50 \membersection{wxStringTokenizer::GetString
}\label{wxstringtokenizergetstring
}
52 \constfunc{wxString
}{GetString
}{\void}
54 Returns the input string.
56 \membersection{wxStringTokenizer::SetString
}\label{wxstringtokenizersetstring
}
58 \func{void
}{SetString
}{\param{const wxString\&
}{to
\_tokenize},
\param{const wxString\&
}{delims = " $
\backslash$t$
\backslash$r$
\backslash$n"
},
\param{bool
}{ret
\_delim = FALSE
}}
60 Initializes the tokenizer.
62 Pass the string to tokenize, a string containing delimiters,
63 a flag specifying whether delimiters are retained.