GeneratePassword

Returns a randomly generated string of specified length.

Syntax

function GeneratePassword(aLength: integer): string;

Parameters

  • aLength
    • type: integer
    • functions: length of the resulting string

Returned value

  • type: string
  • functions: random string

Notes

  • The resulting string can contain only the following symbols: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789

Examples

  1. var pass:=GeneratePassword(15);
    //pass = '3h9kYj9eeDL0Ju4'