fixed string cutter

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