On Thursday, 22 February 2018 at 16:59:40 UTC, Adam D. Ruppe wrote:
On Thursday, 22 February 2018 at 16:55:14 UTC, FrankLike wrote:


It is simply that these functions require a slice so it can resize it and you can't resize a static array.

   char[100] abc ="aabc    ";
   string aa = to!string(abc);
   string aaa = aa.stripRight;


It get the same result.








Reply via email to