On Friday, 10 December 2021 at 12:15:18 UTC, Rumbu wrote: > > I thought it's a beauty contest. > Well, if it's a beauty contest, then i got a beauty.. char[("abc;def;ab".length - count("abc;def;ab", ";"))] b = "abc;def;ab".replace(";", "");