Regarding std.array.Appender

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 13 07:17:45 PDT 2015


On Tuesday, 13 October 2015 at 13:51:50 UTC, anonymous wrote:
> 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 ~ "+")

Thanks!


More information about the Digitalmars-d-learn mailing list