On Wed, Jun 03, 2020 at 08:43:43PM +0000, BoQsc via Digitalmars-d-learn wrote: > On Wednesday, 3 June 2020 at 20:05:52 UTC, ttk wrote: [...] > > That works, but consider using chomp() instead. > > > > https://dlang.org/phobos/std_string.html#.chomp > > Chomp sounds kind of funny hahaha. > Who came up with these function names? Walter Bright? > Anyways, Chomp's way looks way more simple. Thanks.
Chomp comes from Perl. T -- For every argument for something, there is always an equal and opposite argument against it. Debates don't give answers, only wounded or inflated egos.