0

I need in function,which do splitting of lines in lua. As i know,for splittings of lines by sep in lua i can use gmatch function,but i want to get sep in table to. For example,if i use pattern %s* and line 1 2 3 4, I expect getting table like:{1, ,2, ,3, ,4},i.e size of table must be seven. Thanks very much everybody for the help.

Egor Skriptunoff
  • 23,359
  • 2
  • 34
  • 64

0 Answers0