Zillow interview question

Simple string manipulation problem.