Fix off-by-one error when trying to remove delimiter from section name
Merge pull request #375 from permcody/fix_getpot

Fix off-by-one error when trying to remove delimiter from section name