System.AnsiStrings.RandomFrom

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function RandomFrom(const AValues: array of AnsiString): AnsiString;

C++

extern DELPHI_PACKAGE System::AnsiString __fastcall RandomFrom(const System::AnsiString *AValues, const int AValues_High)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Randomly return one of given strings in array.

RandomFrom randomly returns one of the given strings in an array of strings.

See Also