Go to: Synopsis. Return value. MEL examples.
string intArrayToString( int $array[], string $separationString )
None
Variable Name | Variable Type | Description |
---|---|---|
$array | int[] | The integer array. |
$separationString | string | Defines the characters to place between each integer element. |
intArrayToString( { 1, 2, 3 }, ""); // Result: 123 // intArrayToString({ 1, 2, 3 }, ", "); // Result: 1, 2, 3 // intArrayToString({ 1, 2, 3 }, "/"); // Result: 1/2/3 //