CRxString::Replace Method
C++
CRxString Replace(const char* oldStr, const char* newStr, bool ignoreCase, bool completeWord)
Replaces all occurrences of oldStr by newStr and returns the resulting string.
Parameters
[const char*] oldStr |
String which should be replaced. |
[const char*] newStr |
This string is used as the replacement. |
[bool] ignoreCase |
(Optional) True to ignore the case. |
[bool] completeWord |
(Optional) True to find only complete words. |
Returns
CRxString |
The resulting string. |