Bash++
Bash++ compiler internal documentation
replace_all.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <string>
9
10std::string replace_all(std::string str, const std::string& from, const std::string& to);
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