Objective
Implement a function that cuts a string into tokens wherever any character from a caller-supplied delimiter set appears, and returns those tokens as a malloc'd, NULL-terminated array of strings.
Steps
$ split("cargo build --release", " -")
["cargo", "build", "release", NULL]
$ split("one,two,,three", ",")
["one", "two", "three", NULL]
$ split(",,,,", ",")
[NULL]
Expected files
Allowed functions
Allowed headers

Objective
Implement a function that cuts a string into tokens wherever any character from a caller-supplied delimiter set appears, and returns those tokens as a malloc'd, NULL-terminated array of strings.
Steps
$ split("cargo build --release", " -")
["cargo", "build", "release", NULL]
$ split("one,two,,three", ",")
["one", "two", "three", NULL]
$ split(",,,,", ",")
[NULL]
Expected files
Allowed functions
Allowed headers

Tests
Run the tests to grade your code