method join documentation in bbn\X

Join array elements with a string

Example

X::join(['foo', 'bar']); // (string) "foobar" X::join(['foo', 'bar'], ' '); // (string) "foo bar" function(array $ar, string $glue = '') { return implode($glue, $ar); }

Join array elements with a string BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.