System.Hash.THash.GetRandomString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetRandomString(const ALen: Integer = 10): string; static;

C++

static System::UnicodeString __fastcall GetRandomString(const int ALen = 0xa);

Properties

Type Visibility Source Unit Parent
function public
System.Hash.pas
System.Hash.hpp
System.Hash THash

Description

Creates and returns a random String.

The optional parameter ALen defines the length of the generated String. The default value of ALen is 10.

See Also