Check StringUtils::Split. There are different overloads that either work with std::string or CStdString. No need in adding yet another method doing the same.