replace_all_copy.hpp File Reference
Include dependency graph for replace_all_copy.hpp:

Go to the source code of this file.


std::string ReplaceAllCopy (const std::string &str, const std::string &from, const std::string &to)

Detailed Description

Nippun Sharma

Replace a substring in a string.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see for more information.

Definition in file replace_all_copy.hpp.

Function Documentation

◆ ReplaceAllCopy()

std::string ReplaceAllCopy ( const std::string &  str,
const std::string &  from,
const std::string &  to 

Definition at line 18 of file replace_all_copy.hpp.