enhance documentation for string chopping (bug #4049)