DEPRECATED | Please use joinString added in Arma 3 1.50 |
Joins an array of values into a single string.
Eeach value is joined around a separator string. Inverse of CBA_fnc_split.
_array | Array to join together as a string [Array] |
_separator | String to put between each element of _array [String, defaults to “”] |
The joined string [String]
_result = [["FISH", "Cheese", "frog.sqf"], "\"] call CBA_fnc_join; // _result ==> "FISH\Cheese\frog.sqf" _result = [[3, 2, 1, "blast-off!"], "..."] call CBA_fnc_join; // _result ==> "3...2...1...blast-off!"
Spooner