Join elements in a multi dimensional array

array:join_recursively($array=[ ], STRING $separator="")

array:join_recursively(['hi','bye'])
#=> "hibye"

array:join_recursively(['hi','bye'], ', ')
#=> "hi, bye"

array:join_recursively([['h','y'],'bye'], ', ')
#=> "h, y, bye"

array:join_recursively([['h','y', 'user' => ['sed', 'seyedi']],'bye'], ', ')
#=> "h, y, sed, seyedi, bye"

Copyright ©2013-2022 SunSed®. All rights reserved.