System.AnsiStrings.RandomFrom

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

C++

extern DELPHI_PACKAGE System::AnsiString __fastcall RandomFrom(System::AnsiString const *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