This function extracts all sub-strings separated by a given
character from the supplied string and returns them in an array
of dynamically allocated strings. The delimiter character itself
is not included in the returned strings.
Delimiter characters that are preceded by "
" are not used as
delimiters but are included in the returned word instead (without
the "
").