Function : enplode

This function wraps a specified string or character around an imploded array.

Syntax
  enplode($chars, $array)
  
  $chars: contains characters used for imploding and wrapping imploded array
  $array: array to be imploded and wrapped
   
                  
Sample 1
  enplode('_', ['Hi', 'there']); //Hi_there
                  
Just like the php implode() function, the supplied character helps to bind the array strings together.
Sample 2
  enplode(['_', '#'], ['Hi', 'there']); //Hi_there
                  
The sample above shows that we can also specify the imploding character as the first value of an array. This will respond as if it was a normal string that was supplied.
Sample 3
  enplode(['_', '#'], ['Hi', 'there']); //#Hi_there#
                  
The sample above shows that by supplying a second character value of an array, the enplode() function assumes to use the second character to wrap the imploded array string returned.
Sample 4
  enplode(['_', '(',')'], ['Hi', 'there']); //(Hi_there)
                  
In certain situations, the opening wrapper may be different from the closing wrapper. In order to modify the closing wrapper, we can set a third parameter as shown above.
Sample 5
  enplode(['','"'], [], true); // "" 
                  
In certain situations, we wish to return binded characters for empty arrays, we need to supply a third parameter of true which makes sure that the characters are returned even if the array is empty. Notice that in the sample above, the imploding character is an empty string while the wrapper chacracter is a double quote.