Logo Search packages:      
Sourcecode: hammerhead version File versions  Download package

String.cc

//
// $Id: String.cc,v 1.1.1.1 2000/11/29 13:20:15 dredd Exp $
//
// $Source: /cvsroot/hammerhead/hammerhead/src/String.cc,v $
// $Revision: 1.1.1.1 $
// $Date: 2000/11/29 13:20:15 $
// $State: Exp $
//
// Author: Geoff Wong
//
#include "String.h"


int String::gsub(const string& pat, const string& repl)
{
      int x;

      x = find(pat);
      replace(x, pat.length(), repl);
}


Generated by  Doxygen 1.6.0   Back to index