On Sun, 21 Sep 2014 23:41:56 +0000
AsmMan via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com>
wrote:

> I'd like to copy an array string into a appender!string() but I 
> can't see how to do this without loop myself over the string 
> array. Is there a native function or should I write it myself?

hm... '.put' should work. i.e.

  string s = `something`;
  auto ap = appender!string();
  ap.put(s);
  // now ap.data returns `something`

Attachment: signature.asc
Description: PGP signature

Reply via email to