Intersection Interview Question

Given a string, modify it to become ....