Ignore separator at end of string. Fixes #3823
Merge pull request #3836 from clinton-hall/patch-1

Ignore separator at end of string. Fixes #3823