Allowing split function with default template arguments