(table) string.split(string str, string sep);

This will separate the string into substrings and put those substrings in the returned table.