Logo

Programming-Idioms

History of Idiom 296 > diff from v2 to v3

Edit summary for version 3 by programming-idioms.org:
Linked to idiom #283 [Split with a custom string separator]

Version 2

2022-02-17, 12:10:21

Version 3

2022-02-17, 12:11:30

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.

Extra Keywords
substring substitute
Extra Keywords
substring substitute