repeat

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Jan 17 10:37:35 PST 2011


On 1/17/11 12:25 PM, Andrej Mitrovic wrote:
> How about..:
>
> repeat("abc", 3) ->  "abcabcabc"
> reproduce("abc", 3) ->  ["abc", "abc", "abc"]

If I only told you the library has repeat and reproduce, could you be 
able to tell without looking at the documentation?

Andrei


More information about the Digitalmars-d mailing list