To stretch a string