Goldman Sachs Interview Question

Parse a string with a delimiter