Skip to main content

arrayToString

Convert an array to a string and combine on the delimiter passed.

Parameters

  • array array to convert to string
  • delimiter string characater to use in combining to string

Examples

arrayToString(['The', 'quick', 'brown'], '-');
// => 'The-brown-fox'

Returns string from the array.

Meta

  • version: 1.0.0