|
Bash++
Bash++ compiler internal documentation
|
#include <string>
Functions | |
| std::string | replace_all (std::string str, const std::string &from, const std::string &to) |
| Replace all occurences of a substring in a string. | |
| std::string replace_all | ( | std::string | str, |
| const std::string & | from, | ||
| const std::string & | to | ||
| ) |
Replace all occurences of a substring in a string.
Copyright (C) 2025 rail5 Bash++: Bash with classes
| str | The string to search in |
| from | The substring to search for |
| to | The substring to replace with |