A function that splits a string into words using any character that appears in the string as a delimiter. params: The first argument is the string, and the second argument is any delimiter character. return: A two-dimensional array containing the words (strings).
char **split(char *str, char *charset);