Is there a string remove method, that takes an index

FG home at fgda.pl
Wed Jan 30 03:31:42 PST 2013


On 2013-01-30 04:27, Ali Çehreli wrote:
>      s = s[0..7] ~ s[8..$];

As with the other slicing approaches, it would be best to check first if 
s.length >= i (with i = 8 in this case).



More information about the Digitalmars-d-learn mailing list