LinkedIn interview question

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