check args for split(input, pattern)