Difference between revisions of "Utils 1 0-ListRandomElements"
From ADF Docs
(→Parameters: new section) |
|||
(4 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 == |
+ | Returns specified number of random list elements without repeats. | ||
− | Signature | + | == Signature == |
+ | 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> |
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: ,] |