Insert a char in string

Alexandre via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 10 09:05:50 PDT 2014


I have a string X and I need to insert a char in that string...

auto X = "100000000000000";

And I need to inser a ',' in position 3 of this string..., I try 
to use the array.insertInPlace, but, not work...

I try this:
auto X = "100000000000000";
auto N = X.insertInPlace(1,'0');


More information about the Digitalmars-d-learn mailing list