#!/bin/sh

split "a,b,c" 	"," 	3
split "a" 	","	3
split "a,b,c,d"	","	3
split "a,b,c"	" "	3
split "lions and tigers and bears" " and " 4
