#include <string>
Go to the source code of this file.
Classes | |
class | stringUpdate |
return the new substring. More... | |
Functions | |
int | replace (std::string &input, const std::string &gone, const std::string &it, bool multiple=false) |
replace "gone" with "it" in "input" if multiple=true reconsider the string after each replacement | |
int | replaceRange (std::string &input, const std::string &first, const std::string &last, const std::string &it, bool multiple=false) |
replace everything between "first" and "last" with "it" in "input" if multiple=true reconsider the string after each replacement | |
void | strip (std::string &input, const std::string &blanks=" \n\t") |
int replace | ( | std::string & | input, | |
const std::string & | gone, | |||
const std::string & | it, | |||
bool | multiple = false | |||
) |
replace "gone" with "it" in "input" if multiple=true reconsider the string after each replacement
Referenced by MuonTrackAnalyzer::beginJob(), MuonTrackResidualAnalyzer::beginJob(), MultiTrackValidator::beginRun(), IgWebServiceRegistry::executeURL(), ConfigurationRecord::parse(), RunInfoRead::readData(), KinematicTree::replaceCurrentParticle(), KinematicTree::replaceCurrentVertex(), and replaceWithRegexp().
int replaceRange | ( | std::string & | input, | |
const std::string & | first, | |||
const std::string & | last, | |||
const std::string & | it, | |||
bool | multiple = false | |||
) |
replace everything between "first" and "last" with "it" in "input" if multiple=true reconsider the string after each replacement
Referenced by ConfigurationRecord::parse().