◆ replace_all() [1/2]
replace all occurrences of a pattern in the given string with another string and return a copy of result.
- Parameters
-
src | source string to perform replacement on |
pattern | the pattern to search for in src string |
rplc | replacement string that is inserted whenever pattern is found |
- Returns
- resulting string with all occurrences of pattern being replaced with rplc string
◆ replace_all() [2/2]
replace all occurrences of a pattern in the given string (in-place) with another string.
- Parameters
-
src | string to perform replacement on and that will contain the result |
pattern | the pattern to search for in src string |
rplc | the replacement string that is inserted whenever pattern is found |
The documentation for this class was generated from the following file:
- ofstd/include/dcmtk/ofstd/ofstrutl.h