General Utility Library for C++14
2.12
|
Declarations of replace(), replace_inplace().
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Go to the source code of this file.
Namespaces | |
gul14 | |
Namespace gul14 contains all functions and classes of the General Utility Library. | |
Functions | |
GUL_EXPORT std::string | gul14::replace (string_view haystack, string_view needle, string_view hammer) |
Replace all occurrences of a string within another string, returning the result as a std::string. More... | |
GUL_EXPORT std::string & | gul14::replace_inplace (std::string &haystack, string_view needle, string_view hammer) |
Replace all occurrences of a string within another string in-place. More... | |