Function
GLibstrjoinv
Description
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().
If str_array
has no items, the return value will be an
empty string. If str_array
contains a single item, separator
will not
appear in the resulting string.
Parameters
separator |
const gchar* |
A string to insert between each of the
strings, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
str_array |
gchar** |
A |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |