
10-26-2011, 05:31 PM
|
|
team canada
|
 |
Join Date: Jul 2004
Location: Canada
Posts: 5,200
|
|
|
If your array is guaranteed to have more than 1 element:
echo(randomstring(this.array));
will do exactly what you want to. You can also do:
temp.result = this.array[int(random(0, this.array.size()))]; |
|
|
|