mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Error when string.split is given empty separator (#13132)
This commit is contained in:
parent
a3177b89d8
commit
ab1fe80150
3 changed files with 10 additions and 1 deletions
|
@ -3623,7 +3623,7 @@ Helper functions
|
|||
* `math.round(x)`: Returns `x` rounded to the nearest integer.
|
||||
* At a multiple of 0.5, rounds away from zero.
|
||||
* `string.split(str, separator, include_empty, max_splits, sep_is_pattern)`
|
||||
* `separator`: string, default: `","`
|
||||
* `separator`: string, cannot be empty, default: `","`
|
||||
* `include_empty`: boolean, default: `false`
|
||||
* `max_splits`: number, if it's negative, splits aren't limited,
|
||||
default: `-1`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue