random string

Results 1 to 2 of 2

Thread: random string

  1. #1
    shail Guest

    Default random string

    I want to generate strings randomly on each refresh click of browser and which must be sorted accordingly i.e. A..Z?

  2. #2
    Jason Miller Guest

    Default random string (no sorting, though)

    This should work; 97 is for a lower case letter (65 = uppercase)<BR><BR>Randomize<BR><BR>for i = 0 to X &#039You wanted your string how long?<BR> strRandomed = strRandomed & chr(CInt((26 * Rnd) + 97))<BR>next

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts