Added split function for std::strings