On Wednesday, 3 June 2020 at 19:53:03 UTC, BoQsc wrote:
Removing the last element of the string got it resolved.
Might not be the best way and adding additional check for carriage return before removing the element would be better, so this is only initial proof.


Improved example with the above comments resolved.

That works, but consider using chomp() instead.

https://dlang.org/phobos/std_string.html#.chomp


Reply via email to