Bloomberg Interview Question

string manipulation