ServiceNow Interview Question

Split a string