
char *explode (char *delim, char *str)
{
	char *result = NULL;
	
	result[0] = strtok (str, delim);
	
	while (result != NULL) {
		result[] = strtok (NULL, delim);
	}
	
	return result;
}
