Truncate helper.