On 9/22/22 08:19, Ali Çehreli wrote: > string noZeroes(string s) > { > return s.byCodeUnit.filter!(c => c != '\0'); > }
That won't compile; the return type must be 'auto'. Ali
Ali Çehreli via Digitalmars-d-learn Thu, 22 Sep 2022 08:27:37 -0700
On 9/22/22 08:19, Ali Çehreli wrote: > string noZeroes(string s) > { > return s.byCodeUnit.filter!(c => c != '\0'); > }
That won't compile; the return type must be 'auto'. Ali