On Tue, Nov 05, 2002 at 10:12:45AM +0000, Angus Leeming wrote: > Lars, what the fuck have you done to getVectorFromString? > > vector<string> const authors = getVectorFromString(author, " and "); > > vector<string>::const_iterator cit = authors.begin(); > vector<string>::const_iterator end = authors.end(); > for (; cit != end; ++cit) { > std::cerr << "*it = \"" << *cit << '\"' << std::endl; > }
> author = "A. Wonhas and J.C. Vassilicos" > *it = "A." > *it = "Wo" > *it = "h" Looks like either ' ', or 'a', or 'n', or 'd' are taken as seperators, doesn't it? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)