ServiceNow interview question

Split a string