History of Idiom 296 > diff from v10 to v11
Edit summary for version 11 by programming-idioms.org:
Admin deletes impl 5464: y and z are string variables, not literal characters
Admin deletes impl 5464: y and z are string variables, not literal characters
↷
Version 10
2022-02-20, 09:17:32
Version 11
2022-02-20, 19:46:08
Idiom #296 Replace last occurrence of substring
Assign to x2 the value of string x with the last occurrence of y replaced by z.
If y is not contained in x, then x2 has the same value as x.
Idiom #296 Replace last occurrence of substring
Assign to x2 the value of string x with the last occurrence of y replaced by z.
If y is not contained in x, then x2 has the same value as x.
Comments bubble