Str.strjoinv

Joins a number of strings together to form one long string, with the optional @separator inserted between each of them. The returned string should be freed with g_free().

struct Str
static
string
strjoinv
(
string separator
,
string[] strArray
)

Parameters

separator string

a string to insert between each of the strings, or %NULL

strArray string[]

a %NULL-terminated array of strings to join

Return: a newly-allocated string containing all of the strings joined together, with @separator between them

Meta