Add end character when truncate