replace_all
- Синтаксис
Переменная | Описание |
---|---|
string |
String to perform search and replacements on. |
len |
Maximum length of the string buffer. |
what |
String to search for. |
with |
String to replace the search string with. |
- Описание
- Replaces a contained string iteratively.
- Пометка
-
Consider using replace_string() instead.
- Пометка
-
This ensures that no infinite replacements will take place by intelligently moving to the next string position each iteration.
- Возвращает
- Number of replacements on success, otherwise 0.