Fixed `truncate` documentation

Fixed examples