History of Idiom 296 > diff from v16 to v17
Edit summary for version 17 by programming-idioms.org:
[Ruby] Added Doc URL for gsub
[Ruby] Added Doc URL for gsub
↷
Version 16
2022-06-14, 19:02:31
Version 17
2022-09-05, 20:12:16
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
Comments bubble