Use string templating, and different slicing
Merge pull request #2 from kevbo/master

Use string templating, and different slicing