--[[ Demonstrating the mw.text.split function --]]localp={}functionp.split(frame)localtxt=frame.args.txtor""localpids={}iftxt~=""thenpids=mw.text.split(txt,"[, ]+")endlocalout=">"..table.concat(pids,"<<br>>").."<<br>Items: "..#pidsreturnoutendreturnp