Function rcutils_join
Defined in File join.h
Function Documentation
-
char *rcutils_join(const rcutils_string_array_t *string_array, const char *separator, rcutils_allocator_t allocator)
Concatenate members of an array into a single string.
- Parameters:
string_array – [in] with the tokens to concatenate
separator – [in] string to be inserted between tokens
allocator – [in] for allocating new memory for the output string
- Returns:
concatenated string, or
- Returns:
NULL
if there is an error.