how safe is strtok when I get the string from std::string::c_str()? I'd imagine it's considerably safer than if I was dealing with pointers from other origins, but I just figured I'd see what you guys thought. strtok is a lot faster than other methods which use the functionality of std::string or std::stringstream.