--- title: "CreatePassword" slug: "createpassword" updated: 2024-04-16T11:16:20Z published: 2024-04-16T11:16:20Z canonical: "help.mail-and-deploy.com/createpassword" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # CreatePassword ### General The CreatePassword function returns a String that contains a random password with a given length. ### Syntax The syntax of the CreatePassword function is: CreatePassword Functin Syntax CreatePassword() ### Examples The following Expression returns a String that contains a random password with 20 alphanumeric characters: CreatePassword Function Example CreatePassword(20)