AppNexus Interview Question

Related to string manipulation