Too complicated code for generating a random string?
bearophile
bearophileHUGS at lycos.com
Sat Feb 23 11:53:58 PST 2013
deadalnix:
> Can't this do the trick ?
>
> sequence!(_ => letters[uniform($)]).take(length).array() ?
uniform() requires two arguments.
Bye,
bearophile
More information about the Digitalmars-d
mailing list