26 lines
358 B
Markdown
26 lines
358 B
Markdown
# Replace
|
||||
|
|
|
|||
|
|
Replaces all substring matches.
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
uint Replace(
|
|||
|
|
const string substring, // substring
|
|||
|
|
const string newstring // substring
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
Parameters
|
|||
|
|
|
|||
|
|
substring
|
|||
|
|
|
|||
|
|
[in] Sample substring to search for.
|
|||
|
|
|
|||
|
|
newstring
|
|||
|
|
|
|||
|
|
[in] Sample substring to replace with.
|
|||
|
|
|
|||
|
|
Return Value
|
|||
|
|
|
|||
|
|
Number of substring replacements.
|