1 function Split(szFullString, szSeparator) 2 local nFindStartIndex = 1 3 local nSplitIndex = 1 4 local nSplitArray = {} 5 while true do 6 local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) 7 if not nFindLastIndex then 8 n