System.AnsiStrings.RandomFrom

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Renvoie de façon aléatoire une des chaînes d'un tableau.

RandomFrom renvoie de façon aléatoire une des chaînes d'un tableau de chaînes.

Voir aussi