DATRW++ library: seismic data I/O with multiple formats

◆ commatospace()

std::string datrw::util::commatospace ( std::string  s)

replace comma by whitespace

Parameters
sinput string
Returns
input string with all commas replaced by whitespace

Definition at line 121 of file util.cc.

Referenced by datrw::Subformat::operator()().

122  {
123  std::replace(s.begin(), s.end(), ',', ' ');
124  return(s);
125  } // std::string commatospace(const std::string& s)
Here is the caller graph for this function: