LinkedIn Interview Question

How do you replace everything in text with enough spaces to make it a column