concat


Description:

public string concat (string string2, ...)

Concatenates all of the given strings into one long string.

The returned string should be freed with g_free when no longer needed.

The variable argument list must end with null. If you forget the null, concat will start appending random memory junk to your string.

Note that this function is usually not the right function to use to assemble a translated message from pieces, since proper translation often requires the pieces to be reordered.

Parameters:

...

a null-terminated list of strings to append to the string

string1

the first string to add, which must not be null

Returns:

a newly-allocated string containing all the string arguments