how do you append arrays?

asdf via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 25 05:05:04 PST 2016


On Thursday, 25 February 2016 at 12:58:54 UTC, Nicholas Wilson 
wrote:
>
> In D the binary operator "~"  is used to concatenate both 
> strings (arrays of characters) and arrays. (also the ~= 
> operator is equivalent to lhs = lhs ~ rhs
>
> Nic

It worked! A link from someone else's question suggested `new 
string[101]` also. Now on to other problems, it never ends...


More information about the Digitalmars-d-learn mailing list