Array element Replace

Vino vino.bheeman at hotmail.com
Sat Feb 3 23:05:18 UTC 2018


Hi All,

   Request your help, on hot to replace an element(a[2]) in an 
array with the element(a[3])

Eg,

auto a = Array!string("T1","T2","T3");
writeln(D1.replace(a[2], a[3]));


From,
Vino.B


More information about the Digitalmars-d-learn mailing list