diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-03-30 14:25:57 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-03-30 14:25:57 +0200 |
commit | 3f42500d6b9eb318c46cacafdcfd6beb707ef9e9 (patch) | |
tree | 48c8bc6b5178adf2adcbde4b6523356c3dafe5fd /apt-pkg/contrib/strutl.cc | |
parent | c408e01e546e641a0906f188ca6bb924a2f17b40 (diff) |
rename ExplodeString to VectorizeString
Diffstat (limited to 'apt-pkg/contrib/strutl.cc')
-rw-r--r-- | apt-pkg/contrib/strutl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index ab47cdede..7eb986ac0 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -1000,12 +1000,12 @@ bool TokSplitString(char Tok,char *Input,char **List, return true; } /*}}}*/ -// ExplodeString - Split a string up into a vector /*{{{*/ +// VectorizeString - Split a string up into a vector of strings /*{{{*/ // --------------------------------------------------------------------- /* This can be used to split a given string up into a vector, so the propose is the same as in the method above and this one is a bit slower - also, but the advantage is that we an iteratable vector */ -vector<string> ExplodeString(string const &haystack, char const &split) + also, but the advantage is that we have an iteratable vector */ +vector<string> VectorizeString(string const &haystack, char const &split) { string::const_iterator start = haystack.begin(); string::const_iterator end = start; |