Removing elements from dynamic arrays?
    Salih Dincer 
    salihdb at hotmail.com
       
    Wed Apr  6 18:32:51 UTC 2022
    
    
  
On Wednesday, 6 April 2022 at 16:54:26 UTC, Steven Schveighoffer 
wrote:
> 
> This is almost equivalent, but it requires a lambda and an 
> allocation. So I'm not sure what thing you are trying to do 
> here.
I tried to get these results but it didn't work:
> abc
efg
h
[0, 3]
[4, 7]
[8, 9]
abcefgh
I'm a bit old-fashioned and I don't understand these lambda 
stuff. That's why I coded with classical logic and indexOf...
**Source Code:**
https://forum.dlang.org/post/pxkhngxmqgiwwymmgoyh@forum.dlang.org
Actually, I wrote this before, with a few magic touches, I got 
what I wanted.
SDB at 79
    
    
More information about the Digitalmars-d-learn
mailing list