Bash++
Bash++ compiler internal documentation
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
12std::string replace_all(std::string str, const std::string& from, const std::string& to);
13
14#endif // SRC_BPP_INCLUDE_REPLACE_ALL_H_
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:14