View Single Post
Old 08-19-2008   #9 (permalink)
RICK


 
 

Re: How to Randomize characters in a string

And to answer your second question the characters are stored in a named string.

"Anthony Jones" wrote:
Quote:

> "RICK" <RICK@xxxxxx> wrote in message
> news:A9EE9112-5780-4DD3-A2C3-BADBEC32CCCB@xxxxxx
Quote:

> > But, my characters are alphanumeric.
> >
> > What I have done is to create seven random letters followed by one random
> > number and one random special character.
> >
> > I now want to randomize these nine characters into another
>
>
> What is meant by randomize in that last sentence? Do you actually mean
> arrange the characters into another random order?
>
> Since the letters are choosen at random any way all you actually need is it
> choose two random numbers that indicate the ordinal position of the number
> and the special character.
>
> What structure are the characters currently held in, a string or as elements
> of an array?
>
> --
> Anthony Jones - MVP ASP/ASP.NET
>
>
>
My System SpecsSystem Spec