Difference between revisions of "Utils 1 0-ListRandomElements"
From ADF Docs
Line 7: | Line 7: | ||
public string <strong>ListRandomElements</strong> ( string theList, numeric numElements, string theDelim ) | public string <strong>ListRandomElements</strong> ( string theList, numeric numElements, string theDelim ) | ||
− | == 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> </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> |
Revision as of 04:08, 24 March 2010
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: ,] |