( string_replace )

Legend
Has corresponding code
No direct match, but an alternative exists
No corresponding code
-TODO
( .. )Not localized
Example Python
pytest
PHP
PHPUnit
Swift
Testing
Csharp
xunit
Bash
bats
Powershell
pester
C++
GoogleTest
JavaScript
Jest
Kotlin
jUnit
( replace_all ) s.replace(before, after) str_replace($before, $after, $text) - - - - - - -
( replace_first ) s.replace(before, after, 1) preg_replace($quoted_pattern, $after, $text, limit: 1) - - - - - - -
( replace_all_with_regexp ) re.sub(pattern, after, text) preg_replace($pattern, $after, $text) - - - - - - -
( replace_first_with_regexp ) re.sub(pattern, after, text, count=1) preg_replace($pattern, $after, $text, limit: 1) - - - - - - -
( replace_with_range ) substr_replace($text, $after, $start, $length) - - - - - - -