Regarding std.array.Appender
Suliman via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Oct 13 06:42:45 PDT 2015
On Tuesday, 13 October 2015 at 13:34:02 UTC, John Colvin wrote:
> On Tuesday, 13 October 2015 at 13:21:54 UTC, Suliman wrote:
>> I tried to use map! but it's look like it do not work with
>> string, becouse I got error: Error: no property 'map' for type
>> 'ByLine!(char, char)'
>
> I suspect you don't have it imported.
>
> import std.algorithm;
>
> or
>
> import std.algorithm : map;
Thanks, you are right! Can I add with map some element before and
after string? map!(a=> a~=" +") work fine, but how to add before
at same time?
More information about the Digitalmars-d-learn
mailing list