xtd
0.2.0
Loading...
Searching...
No Matches
◆
replace()
[2/2]
ustring
xtd::ustring::replace
(
const
ustring
&
old_string
,
const
ustring
&
new_string
)
const
noexcept
Replaces all occurrences of a specified string in this string with another specified string.
Parameters
old_string
A string to be replaced.
new_string
A string to replace all occurrences of old_string.
Returns
A new string equivalent to the specified string but with all instances of old_string replaced with new_string.
Remarks
If new_string is empty, all occurrences of old_string are removed
xtd
ustring
Generated on Thu Aug 15 2024 14:28:54 for xtd by
Gammasoft
. All rights reserved.