std::string to Sequence