The GeneratePassword function is a built-in function that generates and returns a password string of length l. If alpha is True the string can contain both digits and letters, if False the string can only contain digits. The generated password string is a random combination of letters and digits, or just digits, depending on alpha.

Input parameters

l: Integer Type

alpha: Boolean Type

Output parameters

Text Type

See Also

Available Miscellaneous Functions | Available Built-in Functions