method concat documentation in bbn\X

Split a string by a string

Example

X::concat('foo bar', ' '); // (array) ['foo', 'bar'] X::concat('foo,bar', ','); // (array) ['foo', 'bar'] function(string $st, string $separator) { return explode($separator, $st); }

Split a string by 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.