smarter SetPrefix, and tests
addressed table driven test
updated version
Merge pull request #8 from matthewaltman/setprefix_delimiter

smarter SetPrefix, and tests