Return to Snippet

Revision: 12393
at March 12, 2009 17:19 by blackf0rk

Initial Code
Public Function GenerateRandomString() As String
   GenerateRandomString= System.Guid.NewGuid.ToString
End Function

Initial URL

Initial Description
If you need to generate a random string of mixed characters, this simple function will do it for you. This will return something like this: 80a7a705-9c23-47bc-92b6-2b5c4f9d728d. Which you then can do various string functions to make it the way you want.

Initial Title
Generate a Random String

Initial Tags

Initial Language