bool SplitString( const std::string & string,const std::string& delim, std::vector<std::string>& result )
{
std::string workString(string);
size_t cutAt;
while( (cutAt = workString.find_first_of(delim)) != std::string::npos )
{
result.push_back(workString.substr(0,cutAt));
workString = workString.substr(cutAt+1);
}
result.push_back(workString);
return true;
}