Implements stripSuffix option.

Hi, I implemented support for a 'stripSuffix' option.
Hope you like it and want to integrate it in an upcoming release!