Bash++
Bash++ compiler internal documentation
Main Page
Namespaces
Classes
Files
File List
File Members
src
bpp_include
replace_all.h
Go to the documentation of this file.
1
6
#include <string>
7
8
#ifndef SRC_BPP_INCLUDE_REPLACE_ALL_H_
9
#define SRC_BPP_INCLUDE_REPLACE_ALL_H_
10
11
12
std::string
replace_all
(std::string str,
const
std::string& from,
const
std::string& to);
13
14
#endif
// SRC_BPP_INCLUDE_REPLACE_ALL_H_
replace_all
std::string replace_all(std::string str, const std::string &from, const std::string &to)
Replace all occurences of a substring in a string.
Definition:
replace_all.cpp:17
Generated by
1.9.1