Fidelity Investments Interview Question

Questions on string handling