fixed bug in StringCutter

Signed-off-by: Sweil <mail@sweil.de>