System.AnsiStrings.RandomFrom

提供: RAD Studio API Documentation
移動先: 案内検索

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

プロパティ

種類 可視性 ソース ユニット
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

説明

指定された配列内の文字列のいずれかをランダムに返します。

RandomFrom は、指定された文字列配列内の文字列のいずれかをランダムに返します。

関連項目