ImplodeStrings Function

Joins an array of strings into one string, with a "join" string inserted in between each given string. This function complements ExplodeString.

int ImplodeStrings(const char[][] strings, int numStrings, const char[] join, char[] buffer, int maxLength)


const char[][] strings

An array of strings.

int numStrings

Number of strings in the array.

const char[] join

The join string to insert between each string.

char[] buffer

Output buffer to write the joined string to.

int maxLength

Maximum length of the output buffer.

Return Value

Number of bytes written to the output buffer.