Difference between revisions of "Utils 1 0-ListRandomElements"

From ADF Docs
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
Attention: Do not change any text in the description, signature, and paramter sections.
 +
 +
Return to [[Utils_1_0]]
 +
 
== Description ==  
 
== Description ==  
[[Utils_1_0|Return to Utils_1_0]]
 
 
 
Returns specified number of random list elements without repeats.
 
Returns specified number of random list elements without repeats.
  
== Signature ==
+
== Signature ==  
 
+
public string <strong>ListRandomElements</strong> ( string theList, numeric numElements, string theDelim )
Signature
 
  
== Parameters ==
+
== Parameters ==  
  
Parameters
+
<table id="lib-params">
 +
<tr class="header">
 +
<td>Required</td>
 +
<td>Name</td>
 +
<td>Type</td>
 +
<td>Description</td>
 +
</tr>
 +
 +
 +
<tr>
 +
 +
<td class="required">required</td>
 +
 +
<td>theList</td>
 +
<td>string</td>
 +
<td></td>
 +
</tr>
 +
 +
<tr>
 +
 +
<td>&nbsp;</td>
 +
 +
<td>numElements</td>
 +
<td>numeric</td>
 +
<td></td>
 +
</tr>
 +
 +
<tr>
 +
 +
<td class="required">optional</td>
 +
 +
<td>theDelim</td>
 +
<td>string</td>
 +
<td>[Default: ,] </td>
 +
</tr>
 +
 +
</table>

Latest revision as of 13:59, 9 April 2010

Attention: Do not change any text in the description, signature, and paramter sections.

Return to Utils_1_0

Description

Returns specified number of random list elements without repeats.

Signature

public string ListRandomElements ( string theList, numeric numElements, string theDelim )

Parameters

Required Name Type Description
required theList string
  numElements numeric
optional theDelim string [Default: ,]