EN
String - replace common problems (Cross technology)
0
points
String - common problems (replace)
Problem | Cross | JS/Node | Java | C# | Python | Bash | PHP | C++ |
---|---|---|---|---|---|---|---|---|
replace all occurrences of string | link | link | link | link | link | |||
replace first 2 characters in string | link | link | link | link | link | |||
replace first 3 characters in string | link | link | link | link | link | |||
replace first character in string | link | link | link | link | link | |||
replace first n characters in string | link | link | link | link | link | |||
replace last 2 characters in string | link | link | link | link | link | |||
replace last 3 characters in string | link | link | link | link | link | |||
replace last 4 characters in string | link | link | link | link | link | - | - | - |
replace last character in string | link | link | link | link | link | - | - | - |
replace last n characters in string | link | link | link | - | link | - | - | - |
replace part of string from given index | link | link | link | link |