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

Go to the source code of this file.

Functions

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

Detailed Description

Author
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 http://www.opensource.org/licenses/BSD-3-Clause 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 
)
inline

Definition at line 18 of file replace_all_copy.hpp.