Splunk Interview Question

String processing related question.