Regarding std.array.Appender

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 13 06:51:43 PDT 2015


On Tuesday 13 October 2015 15:42, Suliman wrote:

> map!(a=> a~=" +") work fine, but how to add before 
> at same time?

Use ~ instead of ~=, like so: map!(a => "+" ~ a ~ "+")


More information about the Digitalmars-d-learn mailing list