Add split function to templates
Merge pull request #136 from jsolmon/issue-128

Add split function to templates