Calling string.split(":A:B:C:D", ":") returns an empty array.
This is due to first empty string not making repeat loop decreasing max_split which has a 0 value when reaching until.
Changing max_splits default value from -1 to -2 fixes that issue.
|
||
|---|---|---|
| .. | ||
| after.lua | ||
| async_event.lua | ||
| chatcommands.lua | ||
| filterlist.lua | ||
| misc_helpers.lua | ||
| serialize.lua | ||
| strict.lua | ||
| vector.lua | ||