char *karray_to_string(
char **array,
int type,
size_t num,
char *separator)
none
While most of the array routines support a variety of data types, karray_to_string() requires a string array. Arrays of other data types are not supported as of yet.
A specified separation string is inserted between each pair of strings in the array. For example, if the input array had the contents: array[0] = "ls" array[1] = "-a" array[2] = "/tmp"
and the 'separator' parameter was specified as " ", then the string returned will be: "ls -a /tmp"
If the 'separator' parameter was passed in as NULL, then the resulting string would be: "ls-a/tmp"
none
none
$BOOTSTRAP/objects/library/kutils/src/array.c