String clipping