|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| var.array.getString(Array, Separator) |
Parameters
| ARRAY | Array | Name of the variable containing the array.
| | STRING | Separator | Optional. String separator. |
Return value
Description
Returns the concatenation of each item of the array.
If specified, the separator is added between each item.
This function is equivalent to str.implode.
See also: str.explode. |
MioScript Sample Code
&myArray[] = "Item 1^^Item 2^^Item 3"
&myString = var.array.getString(myArray, "<BR>")
alert(&myString)
// The result is: Item 1<BR>Item 2<BR>Item 3 |
|
|
|